Part Number Hot Search : 
AFB0805H 527A265J A1211 SM560B 2N148 MD1018 STV0370 C221M
Product Description
Full Text Search
 

To Download ADV601LCJST Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  rev. 0 information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of analog devices. a adv601lc one technology way, p.o. box 9106, norwood, ma 02062-9106, u.s.a. tel: 781/329-4700 world wide web site: http://www.analog.com fax: 781/326-8703 ? analog devices, inc., 1999 ultralow cost video codec functional block diagram features 100% bitstream compatible with the adv601 precise compressed bit rate control field independent compression 8-bit video interface supports ccir-656 and multi- plexed philips formats general purpose 16- or 32-bit host interface with 512 deep 32-bit fifo performance real-time compression or decompression of ccir-601 to video: 720 3 288 @ 50 fields/sec pal 720 3 243 @ 60 fields/sec ntsc compression ratios from visually loss-less to 350:1 visually loss-less compression at 4:1 on natural images (typical) applications pc video editing remote cctv surveillance digital camcorders digital video tape wireless video systems tv instant replay general description the adv601lc is an ultralow cost, single chip, dedicated function, all digital cmos vlsi device capable of supporting visually loss-less to 350:1 real-time compression and decom- pression of ccir-601 digital video at very high image quality levels. the chip integrates glueless video and host interfaces with on-chip sram to permit low part count, system level implementations suitable for a broad range of applications. the adv601lc is 100% bitstream compatible with the adv601. the adv601lc is a video encoder/decoder optimized for real- time compression and decompression of interlaced digital video. all features of the adv601lc are designed to yield high perfor- mance at a breakthrough systems-level cost. additionally, the unique sub-band coding architecture of the adv601lc offers you many application-specific advantages. a review of the gen- eral theory of operation and applying the adv601lc sections will help you get the most use out of the adv601lc in any given application. the adv601lc accepts component digital video through the video interface and outputs a compressed bit stream though the host interface in encode mode. while in decode mode, the adv601lc accepts a compressed bit stream through the host interface and outputs component digital video through the video interface. the host accesses all of the adv601lcs con- trol and status registers using the host interface. figure 1 sum- marizes the basic function of the part. (continued on page 2) digital video i/o port wavelet filters, decimator, & interpolator adaptive quantizer run length coder huffman coder host i/o port & fifo dram manager on-chip transform buffer host adv601lc ultralow cost, video codec 256k 3 16-bit dram (field store) digital component video i/o bin width control sub-band statistics
adv601lc C2C rev. 0 table of contents this data sheet gives an overview of the adv601lc functional- ity and provides details on designing the part into a system. the text of the data sheet is written for an audience with a general knowledge of designing digital video systems. where appropri- ate, additional sources of reference material are noted through- out the data sheet. general description . . . . . . . . . . . . . . . . . . . . . . . . . 1 internal architecture . . . . . . . . . . . . . . . . . . . . . 3 general theory of operation . . . . . . . . . . . . . . . 3 references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 the wavelet kernel . . . . . . . . . . . . . . . . . . . . . . . . . 4 the programmable quantizer . . . . . . . . . . . . . . . 7 the run length co der and huf fman coder . . 8 encoding vs. decoding . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 programmers model . . . . . . . . . . . . . . . . . . . . . . . . 8 adv601lc register descriptions . . . . . . . . . . . . 10 pin function descriptions . . . . . . . . . . . . . . . . . 16 video interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 host interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 dram manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 compressed data-stream definition . . . . . . . . . . . . . . . . 22 applying the adv601lc . . . . . . . . . . . . . . . . . . . . . . 28 using the adv601lc in computer applications . . . . . . 28 using the adv601lc in stand-alone applications . . . . 29 connecting the adv601lc to popular video decoders and encoders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 getting the most out of adv601lc . . . . . . . . . 30 adv601lc specifications . . . . . . . . . . . . . . . . . . . . 31 test conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 timing parameters . . . . . . . . . . . . . . . . . . . . . . . . . . 32 clock signal timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 ccir-656 video format timing . . . . . . . . . . . . . . . . . . . 33 multiplexed philips video timing . . . . . . . . . . . . . . . . . . 35 host interface (indirect address, indirect register data, and interrupt mask/status) register timing . . . . . . . . 38 host interface (compressed data) register timing . . . . 40 pinouts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 pin configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 43 outline dimensions . . . . . . . . . . . . . . . . . . . . . . . . . 44 ordering guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 general description ( continued from page 1 ) adv601lc ultralow cost, video codec video interface host interface digital video in (encode) digital video out (decode) compressed video out (encode) compressed video in (decode) status and control figure 1. functional block diagram the adv601lc adheres to international standard ccir-601 for studio quality digital video. the codec also supports a range of field sizes and rates providing high performance in computer, pal, ntsc, or still image environments. the adv601lc is designed only for real-time interlaced video, full frames of video are formed and processed as two independent fields of data. the adv601lc supports the field rates and sizes in table i. note that the maximum active field size is 768 by 288. the maximum pixel rate is 14.75 mhz. the adv601lc has a generic 16-/32-bit host interface, which includes a 512-position, 32-bit wide fifo for compressed video. with additional external hardware, the adv601lcs host inter- face is suitable (when interfaced to other devices) for moving com- pressed video over pci, isa, scsi, sonet, 10 base t, arcnet, hdsl, adsl, and a broad range of digital interfaces. for a full description of the host interface, see the host interface section. the compressed data rate is determined by the input data rate and the selected compression ratio. the adv601lc can a chieve a near constant compressed bit rate by using the current field statistics in the off-chip bin width calculator on the external dsp or host. the process of calculating bin widths on a dsp or host can be adaptive, optimizing the compressed bit rate in real time. this feature provides a near constant bit rate out of the host interface in spite of scene changes or other types of source material changes that would otherw ise create bit rate burst conditions. for more information on the quantizer, see the programmable quantizer section. the adv601lc typically yields visually loss-less compression on natural images at a 4:1 compression ratio. desired image quality levels can vary widely in different applications, so it is advisable to evaluate image quality of known source material at different compression ratios to find the best compression range for the application. the sub-band coding architecture of the adv601lc provides a number of options to stretch compres- sion performance. these options are outlined on in the apply- ing the adv601lc section. table i. adv601lc field rates and sizes active active total total standard region region region region field rate pixel rate name horizontal vertical 1 horizontal vertical (hz) (mhz) 2 ccir-601/525 720 243 858 262.5 59.94 13.50 ccir-601/625 720 288 864 312.5 50.00 13.50 notes 1 the maximum active field size is 720 by 288. 2 the maximum pixel rate is 13.5 mhz.
adv601lc C3C rev. 0 internal architecture the adv601lc is composed of eight blocks. three of these blocks are interface blocks and five are processing blocks. the interface blocks are the digital video i/o port, the host i/o port, and the external dram manager. the processing blocks are the wavelet kernel, the on-chip transform buffer, the programmable quantizer, the run length coder, and the huffman coder. digital video i/o port provides a real-time uncompressed video interface to support a broad range of component digital video formats, including d1. host i/o port and fifo carries control, status, and compressed video to and from the host processor. a 512 position by 32-bit fifo buffers the com- pressed video stream between the host and the huffman coder. dram manager performs all tasks related to writing, reading, and refreshing the external dram. the external host buffer dram is used for reordering and buffering quantizer input and output values. wavelet kernel (filters, decimator, and interpolator) gathers statistics on a per field basis and includes a block of filters, interpolators, and decimators. the kernel calculates forward and backward bi-orthogonal, two-dimensional, sepa- rable wavelet transforms on horizontal scanned video data. this block uses the internal transform buffer when performing wave- let transforms calculated on an entire images data and so eliminates any need for extremely fast external memories in an adv601lc-based design. on-chip transform buffer provides an internal set of sram for use by the wavelet trans- form kernel. its function is to provide enough delay line storage to support calculation of separable two dimensional wavelet transforms for horizontally scanned images. programmable quantizer quantizes wavelet coefficients. quantize controls are calculated by the external dsp or host processor during encode operations and de-quantize controls are extracted from the compressed bit stream during decode. each quantizer bin width is computed by the bw calculator software to maintain a constant com- pressed bit rate or constant quality bit rate. a bin width is a per block parameter the quantizer uses when determining the num- ber of bits to allocate to each block (sub-band). run length coder performs run length coding on zero data and models nonzero data, encoding or decoding for more efficient huffman coding. this data coding is optimized across the sub-bands and varies depending on the block being coded. huffman coder performs huffman coder and decoder functions on quantized run-length coded coefficient values. the huffman coder/de- coder uses three rom-coded huffman tables that provide ex- cellent performance for wavelet transformed video. general theory of operation the adv601lc processors compression algorithm is based on the bi-orthogonal (7, 9) wavelet transform, and implements field independent sub-band coding. sub-band coders transform two- dimensional spatial video data into spatial frequency filtered sub-bands. the quantization and entropy encoding processes provide the adv601lcs data compression. the wavelet theory, on which the adv601lc is based, is a new mathematical apparatus first explicitly introduced by morlet and grossman in their works on geophysics during the mid 80s. this theory became very popular in theoretical physics and applied math. the late 80s and 90s have seen a dramatic growth in wavelet applications such as signal and image processing. for more on wavelet theory by morlet and grossman, see decompo- sition of hardy functions into square integrable wavelets of con- stant shape (journal citation listed in references section). encode path decode path wavelet kernel filter bank adaptive quantizer run length coder & huffman coder compressed data figure 2. encode and decode paths references for more information on the terms, techniques and underlying principles referred to in this data sheet, you may find the follow- ing reference texts useful. a reference text for general digital video principles is: jack, k., video demystified: a handbook for the digital engineer (high text publications, 1993) isbn 1-878707-09-4 three reference texts for wavelet transform background infor- mation are: vetterli, m., kovacevic, j., wavelets and sub-band coding (prentice hall, 1995) isbn 0-13-097080-8 benedetto, j., frazier, m., wavelets: mathematics and applica- tions (crc press, 1994) isbn 0-8493-8271-8 grossman, a., morlet, j., decomposition of hardy functions into square integrable wavelets of constant shape , siam. j. math. anal., vol. 15, no. 4, pp 723-736, 1984
adv601lc C4C rev. 0 the wavelet kernel this block contains a set of filters and decimators that work on the image in both horizontal and vertical directions. figure 6 illustrates the filter tree structure. the filters apply carefully chosen wavelet basis functions that better correlate to the broad- band nature of images than the sinusoidal waves used in dis- crete cosine transform (dct) compression schemes (jpeg, mpeg, and h261). an advantage of wavelet-based compression is that the entire image can be filtered without being broken into sub-blocks as required in dct compression schemes. this full image filtering eliminates the block artifacts seen in dct compression and offers more graceful image degradation at high compression ratios. the availability of full image sub-band data also makes image processing, scaling, and a number of other system fea- tures possible with little or no computational overhead. the resultant filtered image is made up of components of the original image as is shown in figure 3 (a modified mallat tree). note that figure 3 shows how a component of video would be filtered, but in multiple component video luminance and color components are filtered separately. in figure 4 and figure 5 an actual image and the mallat tree (luminance only) equivalent is shown. it is important to note that while the image has been filtered or transformed into the frequency domain, no compres- sion has occurred. with the image in its filtered state, it is now ready for processing in the second block, the quantizer. understanding the structure and function of the wavelet filters and resultant product is the key to obtaining the highest perfor- mance from the adv601lc. consider the following points: ? the data in all blocks (except n) for all components are high pass filtered. therefore, the mean pixel value in those b locks is typically zero and a histogram of the pixel values in these blocks will contain a single hump (laplacian distribution). ? the data in most blocks is more likely to contain zeros or strings of zeros than unfiltered image data. ? the human visual system is less sensitive to higher frequency blocks than low ones. ? attenuation of the selected blocks in luminance or color com- ponents results in control over sharpness, brightness, contrast and saturation. ? high quality filtered/decimated images can be extracted/created without computational overhead. through leverage of these key points, the adv601lc not only com presses video, but offers a host of application features. please see the applying the adv601lc section for details on getting the most out of the adv601lcs sub-band coding architecture in different applications. block a is high pass in x and decimated by two. block b is high pass in x, high pass in y, and decimated by eight. block c is high pass in x, low pass in y, and decimated by eight. block d is low pass in x, high pass in y, and decimated by eight. block e is high pass in x, high pass in y, and decimated by 32. block f is high pass in x, low pass in y, and decimated by 32. block g is low pass in x, high pass in y, and decimated by 32. block h is high pass in x, high pass in y, and decimated by 128. block i is high pass in x, low pass in y, and decimated by 128. block j is low pass in x, high pass in y, and decimated by 128. block k is high pass in x, high pass in y, and decimated by 512. block l is high pass in x, low pass in y, and decimated by 512. block m is low pass in x, high pass in y, and decimated by 512. block n is low pass in x, low pass in y, and decimated by 512. n m l k i h j g f e c b d a figure 3. modified mallat diagram (block letters correspond to those in filter tree)
adv601lc C5C rev. 0 figure 5. modified mallat diagram of image figure 4. unfiltered original image (analog devices corporate offices, norwood, massachusetts)
adv601lc C6C rev. 0 low pass in x luminance and color components (each separately) stage 1 x2 indicates decimate by two in x indicates decimate by two in y indicates corresponding block letter on mallat diagram y2 high pass in x x2 block a x2 low pass in x high pass in x low pass in y high pass in y x2 x2 low pass in y high pass in y y 2 y 2 y 2 y 2 block # block b block c block d low pass in x high pass in x low pass in y high pass in y x2 x2 low pass in y high pass in y y 2 y 2 y 2 y 2 block e block f block g low pass in x high pass in x low pass in y high pass in y x2 x2 low pass in y high pass in y y 2 y 2 y 2 y 2 block h block i block j low pass in x high pass in x low pass in y high pass in y x2 x2 low pass in y high pass in y y 2 y 2 y 2 y 2 block k block l block m block n stage 2 stage 3 stage 4 stage 5 figure 6. wavelet filter tree structure
adv601lc C7C rev. 0 the programmable quantizer this block quantizes the filtered image based on the response profile of the human visual system. in general, the human eye cannot resolve high frequencies in images to the same level of accuracy as lower frequencies. through intelligent quantiza- tion of information contained within the filtered image, the adv601lc achieves compression without compromising the visual quality of the image. figure 7 shows the encode and de- code data formats used by the quantizer. figure 8 shows how a typical quantization pattern applies over mallat block data. the high frequency blocks receive much larger quantization (appear darker) than the low frequency blocks (appear lighter). looking at this figure, one sees some key point concerning quantization: (1) quantization relates directly to frequency in mallat block data and (2) levels of quantization range widely from high to low frequency block. (note that the fill is based on a log formula.) the relation between actual adv601lc bin width factors and the mallat block fill pattern in figure 8 appears in table ii. 9.7 wavelet data 6.10 1/bw 15.17 data 0.5 15.0 bin number quantizer - encode mode trnc signed signed unsigned 1/bw quantizer - decode mode 8.8 bw 23.8 dequantized wavelet data 9.7 wavelet data 15.0 bin number signed signed unsigned sat bw figure 7. programmable quantizer data flow 41 38 35 32 26 23 29 20 17 14 8 5 11 2 39 36 33 30 24 21 27 18 15 12 6 3 9 0 y component 40 37 34 31 25 22 28 19 16 13 7 4 10 1 cb component cr component low high quantization of mallat blocks figure 8. typical quantization of mallat data blocks (graphed)
adv601lc C8C rev. 0 table ii. adv601lc typical quantization of mallat data block data 1 mallat bin width reciprocal bin blocks factors width factors 39 0x007f 0x0810 40 0x009a 0x06a6 41 0x009a 0x06a6 36 0x00be 0x0564 33 0x00be 0x0564 30 0x00e4 0x047e 34 0x00e6 0x0474 35 0x00e6 0x0474 37 0x00e6 0x0474 38 0x00e6 0x0474 31 0x0114 0x03b6 32 0x0114 0x03b6 27 0x0281 0x0199 24 0x0281 0x0199 21 0x0301 0x0155 25 0x0306 0x0153 26 0x0306 0x0153 28 0x0306 0x0153 29 0x0306 0x0153 22 0x03a1 0x011a 23 0x03a1 0x011a 5 0x0a16 0x0066 18 0x0a16 0x0066 12 0x0c1a 0x0055 20 0x0c2e 0x0054 19 0x0c2e 0x0054 17 0x0c2e 0x0054 16 0x0c2e 0x0054 14 0x0e9d 0x0046 13 0x0e9d 0x0046 6 0x1ddc 0x0022 9 0x1ddc 0x0022 3 0x23d5 0x001d 11 0x2410 0x001c 10 0x2410 0x001c 8 0x2410 0x001c 7 0x2410 0x001c 5 0x2b46 0x0018 4 0x2b46 0x0018 0 0xa417 0x0006 2 0xc62b 0x0005 1 0xc62b 0x0005 note 1 the mallat block numbers, bin width factors, and reciprocal bin width factors in table ii correspond to the shading percent fill) of mallat blocks in figure 8. the run length coder and huffman coder this block contains two types of entropy coders that achieve mathematically loss-less compression: run length and huffman. the run-length coder looks for long strings of zeros and replaces it with short hand symbols. table iii illustrates an example of how compression is possible. the huffman coder is a digital compressor/decompressor that can be used for compressing any type of digital data. essentially, an ideal huffman coder creates a table of the most commonly occurring code sequences (typically zero and small values near zero) and then replaces those codes with some shorthand. the adv601lc employs three fixed huffman tables; it does not create tables. the filters and the quantizer increase the number of zeros and strings of zeros, which improves the performance of the entropy coders. the higher the selected compression ratio, the more zeros and small value sequences the quantizer needs to generate. the transformed image in figure 5 shows that the filter bank concentrates zeros and small values in the higher frequency blocks. encoding vs. decoding the decoding of compressed video follows the exact path as encoding but in reverse order. there is no need to calculate bin widths during decode because the bin width is stored in the compressed image during encode. programmers model a host device configures the adv601lc using the host i/o port. the host reads from status registers and writes to control registers through the host i/o port. table iv. register description conventions register name register type (indirect or direct, read or write) and address register functional description text bit [#] or bit or bit field name and usage description bit range [high:low] 0 action or indication when bit is cleared (equals 0) 1 action or indication when bit is set (equals 1) table iii. uncompressed versus compressed data using run-length coding 0000000000000000000000000000000000000000000000000000000000000000000(uncompressed) 57 zeros (compressed)
adv601lc C9C rev. 0 indirect register address reserved reserved 0x1 0x88 0x7 ?0x7f undef 0x0 0x0980 mode control* 0x2 0x000 hstart 0x3 0x3ff 0x4 0x000 0x5 0x3ff 0x6 undef 0x100 undef 0x101 undef 0x152 undef 0x153 undef 0x80 ?0xa9 undef 0xab undef 0xac undef 0xad undef 0xae undef 0xaa undef 0xb2 undef 0xb1 undef 0xb0 undef 0xaf undef 0xb3 ?0xff undef 0x0 0x4 0x8 0xc byte 3 byte 2 byte 1 undef undef 0x00 undef register address direct (externally accessible) registers indirect (internally indexed) registers {access these registers through the indirect register address and indirect register data registers} *note: you must write 0x0880 to the mode control register on chip reset to select the correct pixel mode byte 0 indirect register data reserved interrupt mask / status reserved compressed data vstart hend vend fifo control reserved reserved reserved sum of squares [0 ?41] sum of cb sum of luma sum of cr min luma max luma max cr min cr max cb min cb rbw0 bw0 rbw41 bw41 reset value figure 9. map of adv601lc direct and indirect registers
adv601lc C10C rev. 0 adv601lc register descriptions indirect address register direct (write) register byte offset 0x00. this register holds a 16-bit value (index) that selects the indirect register accessible to the host through the indirect data register. all indirect write registers are 16 bits wide. the address in this register is auto-incremented on each subsequent access of the in direct data register. this capability enhances i/o performance during modes of operation where the host is calculating bin width contr ols. [15:0] indirect address register, iar[15:0] . holds a 16-bit value (index) that selects the indirect register to read or write through the indirect data register (undefined at reset) [31:16] reserved (undefined read/write zero) indirect register data direct (read/write) register byte offset 0x04 this register holds a 16-bit value read or written from or to the indirect register indexed by the indirect address register. [15:0] i ndirect register data, ird[15:0] . a 16-bit value read or written to the indexed indirect register. undefined at reset. [31:16] reserved (undefined read/write zero) compressed data register direct (read/write) register byte offset 0x08 this register holds a 32-bit sequence from the compressed video bit stream. this register is buffered by a 512 position, 32-bit fifo. for word (16-bit) accesses, ac cess word0 (byte 0 and byte 1) then word1 (byte 2 and byte 3) for correct auto-increment. for a description of the data sequence, see the compressed data stream definition section. [31:0] compressed data register, cdr[31:0] . 32-bit value containing compressed video stream data. at reset, contents undefined. interrupt mask / status register direct (read/write) register byte offset 0x0c this 16-bit register contains interrupt mask and status bits that control the state of the adv601lcs hirq pin. with the seven mask bits (ie_lcode, ie_statsr, ie_fifostp, ie_fifosrq, ie_fifoerr, ie_ccirer, ie_merr); select the conditions that are ored together to determine the output of the hirq pin. six of the status bits (lcode, statsr, fifostp, merr, fifoerr, ccirer) indicate active interrupt conditions and are sticky bits that stay set until read. because sticky status bits are cleared when read, and these bits are set on the positive edge of the condition coming true, they cannot be read or tested for stable level true conditions multiple times. the fifosrq bit is not sticky. this bit can be polled to monitor for a fifosrq true condition. note: enable this monitoring by using the fifosrq bit and correctly programming dsl and esl fields within the fifo control registers. [0] ccir-656 error in ccir-656 data stream, ccirer . this read only status bit indicates the following: 0 no ccir-656 error condition, reset value 1 unrecoverable error in ccir-656 data stream (missing sync codes) [1] statistics ready, statsr . this read only status bit indicates the following: 0 no statistics ready condition, reset value (stats_r pin lo) 1 statistics ready for bw calculator (stats_r pin hi) [2] last code read, lcode . this read only status bit indicates the last compressed data word for field will be retrieved from the fifo on the next read from the host bus. 0 no last code condition, reset value (lcode pin lo) 1 next read retrieves last word for field in fifo (lcode pin hi) [3] fifo service request, fifosrq . this read only status bit indicates the following: 0 no fifo service request condition, reset value (fifo_srq pin lo) 1 fifo is nearly full (encode) or nearly empty (decode) (fifo_srq pin hi)
adv601lc C11C rev. 0 [4] fifo error, fifoerr . this condition indicates that the host has been unable to keep up with the adv601lcs compressed data supply or demand requirements. if this condition occurs during encode, the data stream will not be corrupted until merr indicates that the dram is also overflowed. if this condition occurs during decode, the video output will be corrupted. if the system overflows the fifo (disregarding a fifostp condition) with too many writes in decode mode, fifoerr is asserted. this read only status bit indicates the following: 0 no fifo error condition, reset value (fifo_err pin lo) 1 fifo overflow (encode) or underflow (decode) (fifo_err pin hi) [5] fifo stop, fifostp . this condition indicates that the fifo is full in decode mode and empty in encode mode. in decode mode only, fifostp status actually behaves more conservatively than this. in decode mode, even when fifostp is indicated, there are still 32 empty dwords available in the fifo and 32 more dword writes can safely be performed. this status bit indicates the following: 0 no fifo stop condition, reset value (fifo_stp pin lo) 1 fifo empty (encode) or full (decode) (fifo_stp pin hi) [6] memory error, merr . this condition indicates that an error has occurred at the dram memory interface. this condition can be caused by a defective dram, the inability of the host to keep up with the adv601lc compressed data stream, or bit errors in the data stream. note that the adv601lc recovers from this condition without host intervention. 0 no memory error condition, reset value 1 memory error [7] reserved (always read/write zero) [8] interrupt enable on ccirer, ie_ccirer . this mask bit selects the following: 0 disable ccir-656 data error interrupt, reset value 1 enable interrupt on error in ccir-656 data [9] interrupt enable on statr, ie_statr . this mask bit selects the following: 0 disable statistics ready interrupt, reset value 1 enable interrupt on statistics ready [10] interrupt enable on lcode, ie_lcode . this mask bit selects the following: 0 disable last code read interrupt, reset value 1 enable interrupt on last code read from fifo [11] interrupt enable on fifosrq, ie_fifosrq . this mask bit selects the following: 0 disable fifo service request interrupt, reset value 1 enable interrupt on fifo service request [12] interrupt enable on fifoerr, ie_fifoerr . this mask bit selects the following: 0 disable fifo stop interrupt, reset value 1 enable interrupt on fifo stop [13] interrupt enable on fifostp, ie_fifostp . this mask bit selects the following: 0 disable fifo error interrupt, reset value 1 enable interrupt on fifo error [14] interrupt enable on merr, ie_merr . this mask bit selects the following: 0 disable memory error interrupt, reset value 1 enable interrupt on memory error [15] reserved (always read/write zero) mode control register indirect (write only) register index 0x00 this register holds configuration data for the adv601lcs video interface format and controls several other video interface fea tures. for more information on formats and modes, see the video interface section. bits in this register have the following functions: [3:0] video interface format, vif[3:0] . these bits select the interface format. valid settings include the following (all other values are reserved): 0x0 ccir-656, reset value 0x2 mltpx (philips) [4] vclk output divided by two, vclk2 . this bit controls the following: 0 do not divide vclk output (vclko = vclk), reset value 1 divide vclk output by two (vclko = vclk/2)
adv601lc C12C rev. 0 [5] video interface master/slave mode select, m/s . this bit selects the following: 0 slave mode video interface (external control of video timing, hsync-vsync-field are inputs), reset value 1 master mode video interface (adv601lc controls video timing, hsync-vsync are outputs) [6] video interface 525/625 (ntsc/pal) mode select, p/n . this bit selects the following: 0 525 mode video interface, reset value 1 625 mode video interface [7] video interface encode/decode mode select, e/d . this bit selects the following: 0 decode mode video interface (compressed-to-raw) 1 encode mode video interface (raw-to-compressed), reset value [8] reserved (always write zero) [9] video interface bipolar/unipolar color component select, buc . this bit selects the following: 0 bipolar color component mode video interface, reset value 1 unipolar color component mode video interface [10] reserved (always write zero) [11] video interface software reset, swr . this bit has the following effects on adv601lc operations: 0 normal operation 1 software reset. this bit is set on hardware reset and must be cleared before the adv601lc can begin processing. ( reset value ) when this bit is set during encode, the adv601lc completes processing the current field then suspends operation until the swr bit is cleared. when this bit is set during decode, the adv601lc suspends operation immediately and does not resume operation until the swr bit is cl eared. note that this bit must be set whenever any other bit in the mode register is changed. [12] hsync pin polarity, phsync . this bit has the following effects on adv601lc operations: 0 hsync is hi during blanking, reset value 1 hsync is lo during blanking (hi during active) [13] hirq pin polarity, phirq . this bit has the following effects on adv601lc operations: 0 hirq is active lo, reset value 1 hirq is active hi [15:14] reserved (always write zero) fifo control register indirect (read/write) register index 0x01 this register holds the service-request settings for the adv601lcs host interface fifo, causing interrupts for the nearly ful l and nearly empty levels. because each register is four bits in size, and the fifo is 512 positions, the 4-bit value must be multi plied by 32 (decimal) to determine the exact value for encode service level (nearly full) and decode service level (nearly empty). the a dv601lc uses these setting to determine when to generate a fifo service request related host interrupt (fifosrq bit and fifo_srq pin). [3:0] encode service level, esl[3:0] . the value in this field determines w hen the fifo is considered nearly full on enc ode; a c ondi- tion that generates a fifo service request condition in encode mode. since this register is four bits (16 states), and the fifo is 512 positions, the step size for each bit in this register is 32 positions. the following table summarizes sample states of the register and their meaning. esl interrupt when . . . 0000 disables service requests (fifo_srq never goes hi during encode) 0001 fifo has only 32 positions filled (fifo_srq when >= 32 positions are filled) 1000 fifo is 1/2 full, reset value 1111 fifo has only 32 positions empty (480 positions filled) [7:4] decode service level, dsl[7:4] . the value in this field determines when the fifo is considered nearly empty in decode; a condition that generates a fifo service request in decode mode. because this register is four bits (16 states), and the fifo is 512 positions, the step size for each bit in this register is 32 positions. the following table summarizes sample states of the register and their meaning. dsl interrupt when . . . 0000 disables service requests (fifo_srq never goes hi) 0001 fifo has only 32 positions filled (480 positions empty) 1000 fifo is 1/2 empty, reset value 1111 fifo has only 32 positions empty (fifo_srq when >= 32 positions are empty) [15:8] reserved (always write zero)
adv601lc C13C rev. 0 hstart register indirect (write only) register index 0x02 this register holds the setting for the horizontal start of the adv601lcs active video area. the value in this register is usu ally set to zero, but in cases where you wish to crop incoming video it is possible to do so by changing hst. [9:0] horizontal start, hst[9:0] . 10-bit value defining the start of the active video region. (0 at reset) [15:10] reserved (always write zero) hend register indirect (write only) register index 0x03 this register holds the setting for the horizontal end of the adv601lcs active video area. if the value is larger than the max size of the selected video mode, the adv601lc uses the max size of the selected mode for hend. [9:0] horizontal end, hen[9:0] .10-bit value defining the end of the active video region. (0x3ff at reset this value is larger than the max size of the largest video mode) [15:10] reserved (always write zero) vstart register indirect (write only) register index 0x04 this register holds the setting for the vertical start of the adv601lcs active video area. the value in this register is usual ly set to zero unless you want to crop the active video. to vertically crop video while encoding, program the vstart and vend registers with actual video line numbers, which differ for each field. the vstart and vend contents must be updated on each field. perform this updating as part of the field-by-field bw regis- ter update process. to perform this dynamic update correctly, the update software must keep track of which field is being proce ssed next. [9:0] vertical start, vst[9:0] . 10-bit value defining the starting line of the active video region, with line numbers from 1-to-625 in pal and 1-to-525 in ntsc. (0 at reset) [15:10] reserved (always write zero) vend register indirect (write only) register index 0x05 this register holds the setting for the vertical end of the adv601lcs active video area. if the value is larger than the max s ize of the selected video mode, the adv601lc uses the max size of the selected mode for vend. to vertically crop video while encoding, program the vstart and vend registers with actual video line numbers, which differ for each field. the vstart and vend contents must be updated on each field. perform this updating as part of the field-by-field bw regis ter update process. to perform this dynamic update correctly, the update software must keep track of which field is being processed next. [9:0] vertical end, ven[9:0] . 10-bit value defining the ending line of the active video region, with line numbers from 1-to-625 in pal and 1-to-525 in ntsc. (0x3ff at resetthis value is larger than the max size of the largest video mode) [15:10] reserved (always write zero) video area registers the area defined by the hstart, hend, vstart and vend registers is the active area that the wavelet kernel processes. video data outside the active video area is set to minimum luminance and zero chrominance (black) by the adv601lc. these registers allow cropping of the input video during compression (encode only), but do not change the image size. figure 10 shows how the video area registers work together. some comments on how these registers work are as follows: ? the vertical numbers include the blanking areas of the video. specifically, a vstart value of 21 will include the first line of active video, and the first pixel in a line corresponds to a value hstart of 0 (for ntsc regular). note that the vertical coordinates start with 1, whereas the horizontal coordinates start with 0. ? the default cropping mode is set for the entire frame. specifi- cally, field 2 starts at a vstart value of 283 (for ntsc regular). figure 10. video area and video area registers vstart vend h s tart hend zero zero zero x, y active video area 0, 0 zero zero zero zero zero max for selected video mode
adv601lc C14C rev. 0 sum of squares [0C41] registers indirect (read only) register index 0x080 through 0x0a9 the sum of squares [0C41] registers hold values that correspond to the summation of values (squared) in corresponding mallat blocks [0C41]. these registers let the host or dsp read sum of squares statistics from the adv601lc; using these values (with t he sum of value, min value, and max value) the host or dsp can then calculate the bw and rbw values. the adv601lc indi- cates that the sum of squares statistics have been updated by setting (1) the statr bit and asserting the stat_r pin. read the statistics at any time. the host reads these values through the host interface. [15:0] sum of squares, sts[15:0] . 16-bit values [0-41] for corresponding mallat blocks [0-41] (undefined at reset). sum of square values are 16-bit codes that represent the most significant bits of values ranging from 40 bits for small blocks to 48 bits for large blocks. the 16-bit codes have the following precision: blocks precision sum of squares precision description 0C2 48.C32 48.-bits wide, left shift code by 32-bits, and zero fill 3C11 46.C30 46.-bits wide, left shift code by 30-bits, and zero fill 12C20 44.C28 44.-bits wide, left shift code by 28-bits, and zero fill 21C29 42.C26 42.-bits wide, left shift code by 26-bits, and zero fill 30C41 40.C24 40.-bits wide, left shift code by 24-bits, and zero fill if the sum of squares code were 0x0 025 for block 10, the actual value would be 0x00 0940000000; if using that same code, 0x0025, for block 30, the actual value would be 0x0025000000. [31:0] reserved (always read zero) sum of luma value register indirect (read only) register index 0x0aa the sum of luma value register lets the host or dsp read the sum of pixel values for the luma component in block 39. the host reads these values through the host interface. [15:0] sum of luma, sl[15:0] . 16-bit component pixel values (undefined at reset) [31:0] reserved (always read zero) sum of cb value register indirect (read only) register index 0x0ab the sum of cb value register lets the host or dsp read the sum of pixel values for the cb component in block 40. the host reads these values through the host interface. [15:0] sum of cb, scb[15:0] . 16-bit component pixel values (undefined at reset) [31:0] reserved (always read zero) sum of cr value register indirect (read only) register index 0x0ac the sum of cr value register lets the host or dsp read the sum of pixel values for the cr component in block 41. the host reads these values through the host interface. [15:0] sum of cr, scr[15:0] . 16-bit component pixel values (undefined at reset) [31:0] reserved (always read zero) min luma value register indirect (read only) register index 0x0ad the min luma value register lets the host or dsp read the minimum pixel value for the luma component in the unprocessed data. the host reads these values through the host interface. [15:0] minimum luma, mnl[15:0] . 16-bit component pixel value (undefined at reset) [31:0] reserved (always read zero) max luma value register indirect (read only) register index 0x0ae the max luma value register lets the host or dsp read the maximum pixel value for the luma component in the unprocessed data. the host reads these values through the host interface. [15:0] maximum luma, mxl[15:0] . 16-bit component pixel value (undefined at reset) [31:0] reserved (always read zero)
adv601lc C15C rev. 0 min cb value register indirect (read only) register index 0x0af the min cb value register lets the host or dsp read the minimum pixel value for the cb component in the unprocessed data. the host reads these values through the host interface. [15:0] minimum cb, mncb[15:0] , 16-bit component pixel value (undefined at reset) [31:0] reserved (always read zero) max cb value register indirect (read only) register index 0x0b0 the max cb value register lets the host or dsp read the maximum pixel value for the cb component in the unprocessed data. the host reads these values through the host interface. [15:0] maximum cb, mxcb[15:0] .16-bit component pixel value (undefined at reset) [31:0] reserved (always read zero) min cr value register indirect (read only) register index 0x0b1 the min cr value register lets the host or dsp read the minimum pixel value for the cr component in the unprocessed data. the host reads these values through the host interface. [15:0] minimum cr, mncr[15:0] . 16-bit component pixel value (undefined at reset) [31:0] reserved (always read zero) max cr value register indirect (read only) register index 0x0b2 the max cr value register lets the host or dsp read the maximum pixel value for the cr component in the unprocessed data. the host reads these values through the host interface. [15:0] maximum cr, mxcr[15:0] . 16-bit component pixel value (undefined at reset) [31:0] reserved (always read zero) bin width and reciprocal bin width registers indirect (read/write) register index 0x0100-0x0153 the rbw and bw values are calculated by the host or dsp from data in the sum of squares [0-41], sum of value, min v alue, and max value registers; then are written to rbw and bw registers during encode mode to control the quantizer. the host writes these values through the host interface. these registers contain a 16-bit interleaved table of alternating rbw/bw (rbw-even addresses and bw-odd addresses) values as indexed on writes by address register. bin widths are 8.8, unsigned, 16-bit, fixed-point values. reciprocal bin widths are 6.10, unsigned, 16-bit, fixed-point values. operation of this register is controlled by the host driver or the dsp (84 total en tries) (undefined at reset). [15:0] bin width values, bw[15:0] [15:0] reciprocal bin width values, rbw[15:0]
adv601lc C16C rev. 0 pin function descriptions clock pins name pins i/o description vclk/xtal 2 i a single clock (vclk) or crystal input (across vclk and xtal). an acceptable 50% duty cycle clock signal is 27 mhz (ccir-601 ntsc/pal). if using a clock crystal, use a parallel resonant, microprocessor grade clock crystal. if using a clock input, use a ttl level input, 50% duty cycle clock with 1 ns (or less) jitter (measured rising edge to rising edge). slowly varying, low jitter clocks are acceptable; up to 5% frequency variation in 0.5 sec. vclko 1 o vclk output or vclk output divided by two. select function using mode control register. video interface pins name pins i/o description vsync 1 i or o vertical sync or vertical blank. this pin can be either an output (master mode) or an input (slave mode). the pin operates as follows: ? output (master) hi during inactive lines of video and lo otherwise ? input (slave) a hi on this input indicates inactive lines of video hsync 1 i or o horizontal sync or horizontal blank. this pin can be either an output (master mode) or an input (slave mode). the pin operates as follows: ? output (master) hi during inactive portion of video line and lo otherwise ? input (slave) a hi on this input indicates inactive portion of video line note that the polarity of this signal is modified using the mode control register. for detailed timing information, see the video interface section. field 1 i or o field # or frame sync. this pin can be either an output (master mode) or an input (slave mode). the pin operates as follows: ? output (master) hi during field1 lines of video and lo otherwise ? input (slave) a hi on this input indicates field1 lines of video enc 1 o encode or decode. this output pin indicates the coding mode of the adv601lc and operates as follows: ? lo decode mode (video interface is output) ? hi encode mode (video interface is input) note that this pin can be used to control bus enable pins for devices connected to the adv601lc video interface. vdata[7:0] 8 i/o 4:2:2 video data (8-bit digital component video data). these pins are inputs during encode mode and outputs during decode mode. when outputs (decode) these pins are compatible with 50 pf loads (rather than 30 pf as all other busses) to meet the high performance and large number of typical loads on this bus. the performance of these pins varies with the video interface mode set in the mode control register, see the video interface section of this data sheet for pin assignments in each mode. note that the mode control register also sets whether the color component is treated as either signed or unsigned.
adv601lc C17C rev. 0 dram interface pins name pins i/o description ddat[15:0] 16 i/o dram data bus. the adv601lc uses these pins for 16-bit data read/write operations to the external 256k 16-bit dram. (the operation of the dram interface is fully automatic and controlled by internal functionality of the adv601lc.) these pins are compatible with 30 pf loads. dadr[8:0] 9 o dram address bus. the adv601lc uses these pins to form the multiplexed row/column address lines to the external dram. (the operation of the dram interface is fully automatic and controlled by internal functionality of the adv601lc.) these pins are compatible with 30 pf loads. ras 1 o dram row address strobe. this pin is compatible with 30 pf loads. cas 1 o dram column address strobe. this pin is compatible with 30 pf loads. we 1 o dram write enable. this pin is compatible with 30 pf loads. note that the adv601lc does not have a dram oe pin. tie the drams oe pin to ground. host interface pins name pins i/o description data[31:0] 32 i/o host data bus. these pins make up a 32-bit wide host data bus. the host controls this asynchronous bus with the wr , rd , be , and cs pins to commu- nicate with the adv601lc. these pins are compatible with 30 pf loads. adr[1:0] 2 i host dword address bus. these two address pins let you address the adv601lcs four directly addressable host interface registers. for an illustra- tion of how this addressing works, see the control and write register map figure and status and read register map figure. the adr bits permit register addressing as follows: adr1 adr0 dword address byte address 0 0 0 0x00 0 1 1 0x04 1 0 2 0x08 1 1 3 0x0c be0 C be3 2 i host word enable pins. these two input pins select the words that the adv601lcs direct and indirect registers access through the host interface; be0 C be1 access the least significant word, and be2 C be3 access the most significant word. for a 32-bit interface only, tie these pins to ground, making all words available. some important notes for 16-bit interfaces are as follows: ? when using these byte enable pins, the byte order is always the lowest byte ? to the higher bytes. ? the adv601lc advances to the next 32-bit com pressed data fifo location ? after the be2 C be3 pin is asserted then de-asserted (when accessing the com- ? pressed data register); so the fifo location only advances when and if the ? host reads or writes the msw of a fifo loca tion. ? the adv601lc advances to the next 16-bit indirect register after the be0 C be1 ? pin is asserted then de-asserted; so the register selection only advances when ? and if the host reads or writes the msw of a 16-bit indirect register. cs 1 i host chip select. this pin operates as follows: ? lo qualifies host interface control signals ? hi three-states data[31:0] pins wr 1 i host write. host register writes occur on the rising edge of this signal. rd 1 i host read. host register reads occur on the low true level of this signal.
adv601lc C18C rev. 0 host interface pins ( continued ) name pins i/o description ack 1 o host acknowledge. the adv601lc acknowledges completion of a host interface access by asserting this pin. most host interface accesses (other than the com- pressed data register access) result in ack being held high for at least one wait cycle, but some exceptions to that rule are as follows: ? a full fifo during decode operations causes the adv601lc to de-assert ? (drive hi) the ack pin, holding off further writes of compressed data until ? the fifo has one available location. ? an empty fifo during encode operations causes the adv601lc to de-assert (drive hi) the ack pin, holding off further reads until one location is filled. fifo_srq 1 o fifo service request. this pin is an active high signal indicating that the fifo needs to be serviced by the host. (see fifo control register). the state of this pin also appears in the interrupt mask/status register. use the interrupt m ask to assert a host interrupt ( hirq pin) based on the state of the fifo_srq pin. t his pin oper- ates as follows: ? lo no fifo service request condition (fifosrq bit lo) ? hi fifo needs service is nearly full (encode) or nearly empty (decode) during encode, fifo_srq is lo when the swr bit is cleared (0) and goes hi when the fifo is nearly full (see fifo control register). during decode, fifo_srq is hi when the swr bit is cleared (0), because fifo is empty, and goes lo when the fifo is filled beyond the nearly empty condition (see fifo control register). stats_r 1 o statistics ready. this pin indicates the wavelet statistics (contents of sum of squares, sum of value, min value, max value registers) have been updated and are ready for the bin width calculator to read them from the host in terface. the frequency of this interrupt will be equal to the field rate. the state of this pin also appears in the interrupt mask/status register. use the interrupt mask to assert a host interrupt ( hirq pin) based on the state of the stats_r pin. this pin oper- ates as follows: ? lo no statistics ready condition (statsr bit lo) ? hi statistics ready for bw calculator (statsr bit hi) lcode 1 o last compressed data (for field). this bit indicates the last compressed data word for field will be retrieved from the fifo on the next read from the host bus. the frequency of this interrupt is similar to the field rate, but varies depending on compression and host response. the state of this pin also appears in the interrupt mask/status register. use the interrupt mask to assert a host interrupt ( hirq pin) based on the state of the lcode pin. this pin operates as follows: ? lo no last code condition (lcode bit lo) ? hi last data word for field has been read from fifo (lcode bit hi) hirq 1 o host interrupt request. this pin indicates an interrupt request to the host. the interrupt mask/status register can select conditions for this interrupt based on any or all of the following: fifostp, fifosrq, fifoerr, lcode, statr or ccir-656 unrecoverable error. note that the polarity of the hirq pin can be modified using the mode control register. reset 1 i adv601lc chip reset. asserting this pin returns all registers to reset state. note that the adv601lc must be reset at least once after power-up with this active low signal input. for more information on reset, see the swr bit description. power supply pins name pins i/o description gnd 16 i ground vdd 13 i +5 v dc digital power
adv601lc C19C rev. 0 video interface the adv601lc video interface supports two types of compo- nent digital video (d1) interfaces in both compression (input) and decompression (output) modes. these digital video inter- faces include support for the multiplexed philips 4:2:2 and ccir-656/smpte125minternational standard. video interface master and slave modes allow for the generation or receiving of synchronization and blanking signals. definitions for the different formats can be found later in this section. for recommended connections to popular video decoders and encoders, see the connecting the adv601lc to popular video decoders and encoders section. a complete list of supported video interfaces and sampling rates is included in table v. table v. component digital video interfaces nominal bits/ color date name component space sampling rate (mhz) i/f width ccir-656 8 ycrcb 4:2:2 27 8 multiplex philips 8 yuv 4:2:2 27 8 internally, the video interface translates all video formats to one consistent format to be passed to the wavelet kernel. this con- sistent internal video standard is 4:2:2 at 16 bits accuracy. vitc and closed captioning support the video interface also supports the direct loss-less extraction of 90-bit vitc codes during encode and the insertion of vitc codes during decode. closed captioning data (found on active video line 21) is handled just as normal active video on an active scan line. as a result, no special dedicated support is necessary for closed captioning. the data rates for closed captioning data are low enough to ensure robust operation of this mechanism at compression ratios of 50:1 and higher. note that you must include video line 21 in the adv601lcs de- fined active video area for closed caption support. 27 mhz nominal sampling there is one clock input (vclk) to support all internal process- ing elements. this is a 50% duty cycle signal and must be syn- chronous to the video data. internally this clock is doubled using a phase locked loop to provide for a 54 mhz internal processing clock. the clock interface is a two pin interface that allows a crystal oscillator to be tied across the pins or a clock oscillator to drive one pin. the nominal clock rate for the video interface is 27 mhz. note that the adv601lc also supports a pixel rate of 13.5 mhz. video interface and modes in all, there are seven programmable features that configure the video interface. these are: ? encode-decode control in addition to determining what functions the internal pro- cessing elements must perform, this control determines the direction of the video interface. in decode mode, the video interface outputs data. in encode mode, the interface receives data. the state of the control is reflected on the enc pin. this pin can be used as an enable input by external line driv- ers. this control is maintained by the host processor. ? master-slave control this control determines whether the adv601lc generates or receives the vsync, hsync, and field signals. in master mode, the adv601lc generates these signals for external hardware synchronization. in slave mode, the adv601lc receives these signals. note that some video formats require the adv601lc to operate in slave mode only. this control is maintained by the host processor. ? 525-625 (ntsc-pal) control this control determines whether the adv601lc is operating on 525/ntsc video or 625/pal video. this information is used when the adv601lc is in master and decode modes so that the adv601lc knows where and when to generate the hsync, vsync, and field pulses as well as when to insert the sav and eav time codes (for ccir-656 only) in the data stream. this control is maintained by the host pro- cessor. table vi shows how the 525-625 control in the mode control register works. table vi. square pixel control, 525-625 control, and video formats max max 525-625 horizontal field control size size ntsc-pal 0 720 243 ccir-601 ntsc 1 720 288 ccir-601 pal ? bipolar/unipolar color component this mode determines whether offsets are used on color com- ponents. in philips mode, this control is usually set to bipo- lar, since the color components are normal twos-compliment signed values. in ccir-656 mode, this control is set to uni- polar, since the color components are offset by 128. note that it is likely the adv601lc will function if this control is in the wrong state, but compression performance will be degraded. it is important to set this bit correctly. ? active area control four registers hstart (horizontal start), hend (horizon- tal end), vstart (vertical start) and vend (vertical end) determine the active video area. the maximum active video area is 720 by 288 pixels for a single field. ? video format this control determines the video format that is supported. in general, the goal of the various video formats is to support glueless interfaces to the wide variety of video formats periph- eral components expect. this control is maintained by the host processor. table vii shows a synopsis of the supported video formats. definitions of each format can be found later in this section. for video interface pins descriptions, see the pin function descriptions.
adv601lc C20C rev. 0 table vii. component digital video formats nominal bit/ color data rate master/ format name component space sampling (mhz) slave i/f width number ccir-656 8 ycrcb 4:2:2 27 master 8 0x0 multiplex philips 8 yuv 4:2:2 <=29.5 either 8 0x2 clocks and strobes all video data is synchronous to the video clock (vclk). the rising edge of vclk is used to clock all data into the adv601lc. synchronization and blanking pins three signals, which can be configured as inputs or outputs, are used for video frame and field horizontal synchronization and blanking. these signals are vsync, hsync, and field. vdata pins functions with differing video interface formats the functionality of the video interface pins depends on the current video format. table viii defines how video data pins are used for the various formats. table viii. vdata[7:0] pin functions under ccir-656 and multiplex philips vdata[7:0] pins ccir-656 multiplex philips 7 data9 data9 6 data8 data8 5 data7 data7 4 data6 data6 3 data5 data5 2 data4 data4 1 data3 data3 0 data2 data2 video formatsccir-656 the adv601lc supports a glueless video interface to ccir-656 devices w hen the video format is programmed to ccir-656 mode. ccir-656 requires that 4:2:2 data (8 bits per compo- nent) be multiplexed and transmitted over a single 8-bit phy sical interface. a 27 mhz clock is transmitted along with the data. this clock is synchronous with the data. the color space of ccir-656 is ycrcb. when in master mode, the ccir-656 mode does not require any external synchronization or blanking signals to accompany digital video. instead, ccir-656 includes special time codes in the stream syntax that define horizontal blanking periods, verti- cal blanking periods, and field synchronization (horizontal and vertical synchronization information can be derived). these time codes are called end-of-active-video (eav) and start-of- active-video (sav). each line of video has one eav and one sav time code. eav and sav have three bits of embedded information to define hsync, vsync and field information as well as error detection and correction bits. vclk is driven with a 27 mhz, 50% duty cycle clock which is synchronous with the video data. video data is clocked on the rising edge of the vclk signal. when decoding, the vclk signal is typically transmitted along with video data in the ccir-656 physical interface. electrically, ccir-656 specifies differential ecl levels to be used for all interfaces. the adv601lc, however, only supports unipolar, ttl logic thresholds. systems designs that interface to strictly conforming ccir-656 devices (especially when inter- facing over long cable distances) must include ecl level shifters and line drivers. the functionality of hsync, vsync and field pins is dependent on three programmable modes of the adv601lc: master-slave control, encode-decode control and 525-625 control. table ix summarizes the functionality of these pins in various modes. table ix. ccir-656 master and slave modes hsync, vsync, and field functionality hsync, vsync and field master mode (hsync, vsync slave mode (hsync, vsync functionality for ccir-656 and field are outputs) and field are inputs) encode mode (video data is input pins are driven to reflect the states of the undefineduse master mode to the chip) received time codes: eav and sav. this functionality is independent of the state of the 525-625 mode control. an encoder is most likely to be in master mode. decode mode (video data is output pins are output to the precise timing definitions undefineduse master mode from the chip) for ccir-656 interfaces. the state of the pins reflect the state of the eav and sav timing codes that are generated in the output video data. these definitions are different for 525 and 625 line systems. the adv601lc completely manages the generation and timing of these pins.
adv601lc C21C rev. 0 video formats multiplexed philips video the adv601lc supports a hybrid mode of operation that is a cross between standard dual lane philips and single lane ccir- 656. in this mode, video data is multiplexed in the same fashion in ccir-656, but the values 0 and 255 are not reserved as signaling values. inst ead, external hsync and vsync pins are used for signaling and video synchronization. vclk may range up to 29.5 mhz. vclk is driven with up to a 29.5 mhz 50% duty cycle clock synchronous with the video data. video data is clocked on the rising edge of the vclk signal. the functionality of hsync, vsync, and field pins is dependent on three programmable modes of the adv601lc: master-slave control, encode- decode control, and 525-625 control. table x summarizes the functionality of these pins in various modes. table x. philips multiplexed video master and slave modes hsync, vsync, and field functionality hsync, vsync and field functionality for multiplexed master mode (hsync, vsync slave mode (hsync, vsync philips and field are outputs) and field are inputs) encode mode (video data is input the adv601lc completely manages the generation and these pins are used to control the to the chip) timing of these pins. the device driving the adv601lc blanking of video and sequencing. video interface must use these outputs to remain in sync with the adv601lc. it is expected that this com- bination of modes would not be used frequently. decode mode (video data is output the adv601lc completely manages the generation these pins are used to control the from the chip) and timing of these pins. blanking of video and sequencing. video formatsreferences for more information on video interface standards, see the following reference texts. ? for the definition of ccir-601: 1992 C ccir recommendations rbt series broadcasting service (television) rec. 601-3 encoding parameters of digital television for studios , page 35, september 15, 1992. ? for the definition of ccir-656: 1992 C ccir recommendations rbt series broadcasting service (television) rec. 656-1 interfaces for digital component video signals in 525 and 626 line television systems operating at the 4:2:2 level of rec. 601 , page 46, september 15, 1992. host interface the adv601lc host interface is a high performance interface that passes all command and real-time compressed video data between the host and codec. a 512 position by 32-bit wide, bidirectional fifo buffer passes compressed video data to and from the host. the host interface is capable of burst transfer rates of up to 132 million bytes per second (4 33 mhz). for host interface pins descriptions, see the pin function descriptions section. for host int erface timing information, see the host interface timing section. dram manager the dram manager provides a sorting and reordering func- tion on the sub-band coded data between the wavelet kernel and the programmable quantizer. the dram manager pro- vides a pipeline delay stage to the adv601lc. this pipeline lets the adv601lc extract current field image statistics (min/ max pixel values, sum of pixel values, and sum of squares) used in the calculation of bin widths and re-order wavelet transform data. the use of current field statistics in the bin width calcu- lation results in precise control over the compressed bit rate. the dram manager manages the entire operation and refresh of the dram. the interface between the adv601lc dram manager and dram is designed to be transparent to the user. the adv601lc dram pins should be connected to the dram as called out in the pin function descriptions section. the adv601lc re- quires one 256k word by 16-bit, 60 ns dram. the following is a selected list of manufacturers and part numbers. all parts can be used with the adv601lc at all vclk rates except where noted. any dram used with the adv601lc must meet the minimum specifications outlined for the hyper mode drams listed in table xi. for dram interface pins descrip- tions, see the pin function descriptions. table xi. adv601lc compatible drams manufacturer part number notes toshiba tc514265dj/dz/dft-60 none nec m pd424210ale-60 none nec m pd42s4210ale-60 cbr self refresh feature of this prod- uct is not needed by the adv601lc. hitachi hm514265cj-60 none
adv601lc C22C rev. 0 (continuous stream of frames) time frame (n) frame (n + 1) frame (n + 2) frame (n + m) field 2 sequence field 1 sequence field sequence structure first block sequence complete block sequence vertical interface time code start of field 1 or 2 code first block sequence structure data for mallat block 6 bin width quantizer code sub-band type code complete block sequence order (stream of mallat block sequences) sequence for mallat block 3 sequence for mallat block 20 sequence for mallat block 9 complete block (individual) sequence structure data for mallat block bin width quantizer code start of block code figure 11. hierarchical structure of wavelet compressed frame data (data block order) compressed data-stream definition through its host interface the adv601lc outputs (during encode) and receives (during decode) compressed digital video data. this stream of data passing between the adv601lc and the host is hierarchically structured and broken up into blocks of data as shown in figure 11. table iv shows pseudo code for a video data transfer that matches the transfer order shown in figure 11 and uses the code names shown in table xiv. the blocks of data listed in figure 11 correspond to wavelet com- pressed s ections of each field illustrated in figure 12 as a modified mallat diagram.
adv601lc C23C rev. 0 table xii. pseudo-code describing a sequence of video fields complete sequence: frame n; field 1 frame n; field 2 frame n+1; field 1 frame n+1; field 2 (field sequences) frame n+m; field 1 frame n+m; field 2 #eos required in decode to let the adv601lc know the sequence of fields is complete. field 1 sequence: #sof1 field 2 sequence: #sof2 first block sequence: complete block sequence: ... (block sequences) ... block sequence: #sob1, #sob2, #sob3, #sob4 or #sob5
adv601lc C24C rev. 0 6 3 0 39 36 33 30 24 21 27 18 15 12 9 40 37 34 31 25 22 28 19 16 13 7 4 10 1 26 23 29 20 17 14 8 5 11 2 41 38 35 32 y component cb component cr component figure 12. block order of wavelet compressed field data (modified mallat diagram) in general, a frame of data is made up of odd and even fields as shown in figure 11. each field sequence is made up of a first block sequence and a complete block sequence. the first block sequence is separate from the complete block sequence. the complete block sequence contains the remaining 41 block sequences (see block numbering in figure 12). each block sequence contains a start of block delimiter, bin width for the block and actual encoder data for the block. a pseudo code bit stream example for one complete field of video is shown in table xiii. a pseudo code bit stream example for one sequence of fields is shown in table xiv. an example listing of a field of video in adv601lc bitstream format appears in table xvi.
adv601lc C25C rev. 0 table xiii. pseudo-code of compressed video data bitstream for one field of video block sequence data for mallat block number . . . #sofn n indicates field 1 or 2 huff_data indicates mallat block 6 data a typical bin width (bw) factor for this block is 0x1ddc #sob4 mallat block 9 datatypical bw = 0x1ddc #sob3 mallat block 20 datatypical bw = 0x0c2e #sob3 mallat block 22 datatypical bw = 0x03a1 #sob3 mallat block 19 datatypical bw = 0x0c2e #sob3 mallat block 23 datatypical bw = 0x03a1 #sob3 mallat block 17 datatypical bw = 0x0c2e #sob3 mallat block 25 datatypical bw = 0x0306 #sob3 mallat block 16 datatypical bw = 0x0c2e #sob3 mallat block 26 datatypical bw = 0x0306 #sob3 mallat block 14 datatypical bw = 0x0e9d #sob3 mallat block 28 datatypical bw = 0x0306 #sob3 mallat block 13 datatypical bw = 0x0e9d #sob3 mallat block 29 datatypical bw = 0x0306 #sob3 mallat block 11 datatypical bw = 0x2410 #sob1 mallat block 31 datatypical bw = 0x0114 #sob3 mallat block 10 datatypical bw = 0x2410 #sob1 mallat block 32 datatypical bw = 0x0114 #sob3 mallat block 8 datatypical bw = 0x2410 #sob1 mallat block 34 datatypical bw = 0x00e5 #sob3 mallat block 7 datatypical bw = 0x2410 #sob1 mallat block 35 datatypical bw = 0x00e6 #sob3 mallat block 5 datatypical bw = 0x2b46 #sob1 mallat block 37 datatypical bw = 0x00e6 #sob3 mallat block 4 datatypical bw = 0x2b46 #sob1 mallat block 38 datatypical bw = 0x00e6 #sob3 mallat block 2 datatypical bw = 0xc62b #sob1 mallat block 40 datatypical bw = 0x009a #sob3 mallat block 1 datatypical bw = 0xc62b #sob1 mallat block 41 datatypical bw = 0x009a #sob4 mallat block 0 datatypical bw = 0xa417 #sob2 mallat block 39 datatypical bw = 0x007f #sob4 mallat block 12 datatypical bw = 0x0c1a #sob2 mallat block 36 datatypical bw = 0x00be #sob4 mallat block 15 datatypical bw = 0x0a16 #sob2 mallat block 33 datatypical bw = 0x00be #sob4 mallat block 18 datatypical bw = 0x0a16 #sob2 mallat block 30 datatypical bw = 0x00e4 #sob2 mallat block 21 datatypical bw = 0x0301 #sob2 mallat block 27 datatypical bw = 0x0281 #sob2 mallat block 24 datatypical bw = 0x0281 #sob4 mallat block 3 datatypical bw = 0x23d5 table xiv specifies the mallat block transfer order and associated start of block (sob) codes. any of these sob codes can be replaced with an sob#5 code for a zero data block. table xiv. pseudo-code of compressed video data bitstream for one sequence of video fields block sequence data for mallat block number #sof1 /* mallat block 6 data */ ... (41 #sobn blocks) #sof2 /* mallat block 6 data */ ... (41 #sobn blocks) . (any number of fields in sequence) #eos /* required in decode to end field sequence*/
adv601lc C26C rev. 0 table xv. adv601lc field and block delimiters (codes) code name code description (align all #delimiter codes to 32-bit boundaries) #sof1 0xffffffff40000000 start of field delimiter identifies field1 data. #sof1 resets the huffman decoder and is sufficient on its own to reset the processing of the chip during decode. please note that this code or #sof2 are the only delimiters necessary between adjacent fields. #sof1 operates identically to #sof2 except that during decode it can be used to differentiate between field1 and field2 in the generation of the field signal (master mode) and/or sav/eav codes for ccir-656 modes. #sof2 0xffffffff41000000 start of field delimiter identifies field2 data. #sof resets the huffman decoder and is sufficient on its own to reset the processing of the chip during decode. please note that this code or #sof1 are the only delimiters necessary between adjacent fields. #sof2 operates identically to #sof1 except that during decode it can be used to differentiate between field2 and field1 in the generation of the field signal (master mode) and/or sav/eav codes for ccir-656 modes. (96 bits) this is a 12-byte string of data extracted by the video interface during encode opera- tions and inserted by the video interface into the video data during decode operations. the data content is 90 bits in length. for a complete description of vitc format, see pages 175-178 of video demystified: a handbook for the digital engineer (listed in references section). 0x81 this is an 8-bit delimiter-less type code for the first sub-band block of wavelet data. (model 1 chroma) 0x82 this is an 8-bit delimiter-less type code for the first sub-band block of wavelet data. (model 1 luma) 0x83 this is an 8-bit delimiter-less type code for the first sub-band block of wavelet data. (model 2 chroma) 0x84 this is an 8-bit delimiter-less type code for the first sub-band block of wavelet data. (model 2 luma) #sob1 0xffffffff81 start of block delimiter identifies the start of huffman coded sub-band data. this #sob2 0xffffffff82 delimiter will reset the huffman decoder if a system ever experiences bit errors or gets #sob3 0xffffffff83 out of sync. the order of blocks in the frame is fixed and therefore implied in the bit #sob4 0xffffffff84 stream and no unique #sob delimiters are needed per block. there are 41 #sob #sob5 0xffffffff8f delimiters and associated bw and huffman data within a field. #sob1 is differenti- ated from #sob2, #sob3 and #sob4 in that they indicate which model and huffman table was used in the run length coder for the particular block: #sob1 model 1 chroma #sob2 model 1 luma #sob3 model 2 chroma #sob4 model 2 luma #sob5 zero data block. all data after this delimiter and before the next start of block delimiter is ignored (if present at all) and assumed zero including the bw value.
adv601lc C27C rev. 0 table xvii. video data bitstream for one field in a video sequence 1 ffff ffff 40 00 0000 0000 0000 0000 0000 0000 0000 8400 00ff df0d 8eff ffff ffff 84 00 00ff df0c daff ffff ffff 83 00 00ff 609f ffff ffff ffff 83 00 00fe c5af ffff ffff ffff 83 00 00ff 609f ffff ffff ffff 83 00 00fe c5af ffff ffff ffff 83 00 00ff 609f ffff ffff ffff 83 00 00fe c70f ffff ffff ffff 83 00 00ff 609f ffff ffff ffff 83 00 00fe c70f ffff ffff ffff 83 00 00ff 609f ffff ffff ffff 83 00 00fe c78f ffff ffff ffff 83 00 00ff 609f ffff ffff ffff 83 00 00fe c78f ffff ffff ffff 83 00 00ff 6894 3fff ffff ffff 81 1d 40f0 90ff ffff ffff ffff 83 00 00ff 6894 3fff ffff ffff 81 1d 40f0 90ff ffff ffff ffff 83 00 00ff 68aa bfff ffff ffff 81 16 80f0 9bff ffff ffff ffff 83 00 00ff 68aa bfff ffff ffff 81 16 80f0 9bff ffff ffff ffff 83 00 00ff 6894 3fff ffff ffff 81 16 80f0 9fff ffff ffff ffff 83 00 00ff 6894 3fff ffff ffff 81 16 80f0 9fff ffff ffff ffff 83 00 00ff fe62 a2ff ffff ffff 81 03 e6e9 d74d 75d7 5d75 d75a f8f9 74eb d7af 5ebd 7af5 ebf0 f8f8 f979 7979 7979 7979 79fd 5f5f c7e3 f1f8 fc7e 3f1f 8fc7 e5fa ff6f d5f6 7d9f 67d9 f67d 9f67 d9f6 7edf abec f87c 3e1f 0f87 c3e1 f0f8 fd9f 1f1f 2f2f 2f2f 2f2f 2f2f 2f1f 2ebd 7af5 ebd7 ae9d 74e9 a56d 6b5a d6b5 a2b0 d249 24a5 ce36 db6d b6db 6db7 c6fd fd3d 3d3d 3d3d 3d3d 3d3b 7a7b fbfb fbfb fbfb fbfb fcfd bdfe dfb7 edfb 7eef bbee fbbe dfbb dbe7 f6fd ff7f dff7 fdff 7fdf f7fd feff 3fbb effb feff bfef fbfe ffbf efff ffff ffff ffff 83 00 00ff fe62 a2ff ffff ffff 81 03 e6fd bfab f9bf 57d5 f2eb 18f4 f9fd ffb7 f5ff 3feb fafc 7431 e9f4 fbff 77eb fd3f b3ec f2d5 efeb f6fe 1fbb f67e afdb f0f3 aaed edf7 fe3f 57ed fd7f bbe3 d2d3 dfe7 f87e 5f57 eefd 9fbb e5d6 2fdf e7f8 7eff abf7 7ecf ddf2 eb17 eff3 fc3f 7fd5 fbbf 67ee f975 8bf7 f9fe 1fbf eafd dfb3 f77c bac5 fbfc ff0f dff5 7eef d9fb be5d 62fd fe7f 87ef fabf 77ec fddf 2eb1 7eff 3fc3 f7fd 5fbb f67e ef97 58bf 7f9f e1fb feaf ddfb 3f77 cbac 5fbf cff0 fdff 57ee fd9f bbe5 d62f dfe7 f87e ffaf f77e cfab e5d6 2fe9 f3fc 7f7f d9f5 7edf abc7 431e 9f4f c7f8 7fff ffff ffff ffff 84 00 00ff dfb7 c5ff df0d 7fff ffff ffff 82 02 9afc 3eff b7e9 ede9 e9e9 e9e9 e9e9 e9e9 e9e9 e9e9 e9e9 e9e9 dbef fbbe 9efe 9dbb 76ed dbb7 6edd bb76 eddb b76e ddb7 fbbe df9f af6d b6db 6db6 db6d b6db 6db6 db6d aff6 fd3d bbed 7bde f7bd ef7b def7 bdef 75f4 f7f4 dee9 2492 4924 924c fa7b 77da 6991 f4f7 efb4 d323 e9ed df69 a647 d3db bed3 4c8f a7b7 7da6 991f 4f7e fb4d 323e 9edd f69a 647d 3dbb ed34 c8fa 7b77 da69 647c fd7b 6100 0000 0045 bdfd 37bb 8888 8888 8888 8888 8aff ffff ffff ffff 84 00 00ff c9a7 1fff ffff ffff 82 0f 00ff 7704 4fff ffff ffff 84 00 00ff c9a7 1fff ffff ffff 82 0f 00ff 7704 bfff ffff ffff 84 00 00ff c9a7 1fff ffff ffff 82 13 80ff 7703 5fff ffff ffff 82 00 00ff 7743 1fff ffff ffff 82 00 00ff 7743 1fff ffff ffff 82 00 00ff 7745 efff ffff ffff 84 00 00ff df0c daff note 1 this table shows adv601lc compressed data for one field in a color ramp video sequence. the sof# and sob# codes in the data are in bold text. table xvi. adv601lc field and block delimiters (codes) code name code description (align all #delimiter codes to 32-bit boundaries) ( continued ) (16 bits, 8.8) this data code is not entropy coded, is always 16 bits in length and defines the bin width quantizer control used on all data in the block sub-band. during decode, this value is used by the quantizer. if this value is set to zero during decode, all huffman data is presumed to be zero and is ignored, but must be included. during encode, this value is calculated by the external host and is inserted into the bit stream by the adv601lc (this value is not used by the quantizer). another value calculated by the host, 1/bw is actually used by the quantizer during encode. (mo dulo 32) this data is the quantized and entropy coded block sub-band data. the datas length is dependent on block size and entropy coding so it is therefore variable in length. this field is filled with 1s making it modulo 32 bits in length. any huffman decode process can be interrupted and reset by any unexpectedly received # delimiter following a bit error or synchronization problem. #eos 0xffffffffc0ffffff the host sends the #eos (end of sequence) to the adv601lc during decode after the last field in a sequence to indicate that the field sequence is complete. the adv601lc does not append this code to the end of encoded field sequences; it must be added by the host. bit error tolerance bit error tolerance is ensured because a bit error within a huffman coded stream does not cause #delimiter symbols to be misread by the adv601lc in decode mode. the worst error that can occur is loss of a complete block of huffman data. with the adv601lc, this type of error results only in some blurring of the decoded image, not complete loss of the image.
adv601lc C28C rev. 0 applying the adv601lc this section includes the following topics: ? using the adv601lc in computer applications ? using the adv601lc in standalone applications ? configuring the host interface for 6- or 32-bit data paths ? connecting the video interface to popular video encoders and decoders ? getting the most out of the adv601lc the following analog devices products should be considered in adv601lc designs: ? adv7175/adv7176digital yuv to analog composite video encoder ? ad722analog rgb to analog composite video encoder ? ad1843audio codec with embedded video synchronization ? adsp-21xxfamily of fixed-point digital signal processors ? ad8xxxfamily of video operational amplifiers using the adv601lc in computer applications many key features of the adv601lc were driven by the demand- ing cost and performance requirements of computer applications. the following adv601lc features provide key advantages in computer applications: ? host interface the 512 double word fifo provides necessary buffering of compressed digital video to deal with pci bus latency. ? low cost external dram unlike many other real-time compression solutions, the adv601lc does not require expensive external sram transform buffers or vram frame stores. a2 a3 d0Cd7 d8Cd15 d16Cd23 d24Cd31 a28 a29 a30 a31 decode 1 decode 2 vclk vdata [0C7] llc xtal saa7111 27mhz pal or ntsc adr0 adr1 dq0Cdq7 dq8Cdq15 dq16Cdq23 dq24Cdq31 cs stats_r lcode 24.576mhz xtal a0Ca8 d0Cd15 a0Ca8 dq1Cdq16 note: decode 1 asserts cs ~ on the adv601lc for host addresses 0x4000,0000 through 0x4000,0013 adv601lc host bus dram (256k 3 16-bit) composite video input vclko toshiba tc514265dj/dz/dft-60 nec m pd424210ale-60 nec m pd42s4210ale-60 hitachi hm514265cj-60 any dram used with the adv601lc must meet the minimum specifications outlined for the hyper mode drams listed fifo_srq fifo_stp fifo_err y[0C7] decode 2 is host specific be0ebe1 be2ebe3 rd wr hirq ack ras cas we ras cas oe wel weh rd wr figure 13. a suggested pc application design
adv601lc C29C rev. 0 adr1 adr2 data0C7 data8-15 adr0 clkin flin2 flin0 adr0 adr1 dq0Cdq7 dq8Cdq15 dq16Cdq23 dq24Cdq31 stats_r lcode a0Ca8 d0Cd15 a0Ca8 dq1Cdq16 the adsp-21csp01 internal clock rate double the input clock *the input clock rate = 1/2 of the internal clock rate, ranging from 12 to 21mhz adv601lc adsp-21csp01 dram (256k 3 16-bit) vclko* toshiba tc514265dj/dz/dft-60 nec m pd424210ale-60 nec m pd42s4210ale-60 hitachi hm514265cj-60 any dram used with the adv601lc must meet the minimum specifications outlined for the hyper mode drams listed fifo_srq fifo_stp fifo_err irq0 flin1 ioms rd wr be2ebe3 cs rd wr hirq ack ras cas we ras cas oe wel weh ioack vclk vdata [0C7] llc xtal saa7111 composite video input y[0C7] be0ebe1 27mhz pal or ntsc 24.576mhz xtal figure 14. alternate standalone application design using the adv601lc in standalone applications figure 14 shows the adv601lc in a noncomputer based appli- cations. here, an adsp-21csp01 digital signal processor pro- vides host control and bw calculation services. note that all control and bw operations occur over the host interface in this design. connecting the adv601lc to popular video decoders and encoders the following circuits are recommendations only. analog devices has not actually built or tested these circuits. using the philips saa7111 video decoder the saa7111 example circuit, which appears in figure 15, is used in this configuration on the adv601lc video lab dem- onstration board. xtal (ccir-656 mode) saa7111 y(0:7) llc xtal vclk vdata (0:7) adv601lc figure 15. adv601lc and saa7111 example interfac- ing block diagram using the analog devices adv7175 video encoder because the adv7175 has a ccir-656 interface, it connects directly with the adv601lc without glue logic. note that the adv7175 can only be used at ccir-601 sampling rates. the adv7175 example circuit, which appears in figure 16, is used in this configuration on the adv601lc video lab dem- onstration board. (mode 0 & slave mode) (ccir-656 mode) xtal 10k v 150 v vclk xtal adv601lc vclko clock p7Cp0 adv7175 blank alsb vdata (7:0) figure 16. adv601lc and adv7175 example interfac- ing block diagram using the raytheon tmc22173 video decoder raytheon has a whole family of video parts. any member of the family can be used. the user must select the part needed based on the requirements of the application. because the raytheon part does not include the a/ds, an external a/d is necessary in this design (or a pair of a/ds for s video). the part can be used in ccir-656 (d1) mode for a zero con- trol signal interface. special attention must be paid to the video output modes in order to get the right data to the right pins (see the following diagram). note that the circuit in figure 17 has not been built or tested. mode set to: cdec = 1 yuvt = 1 f422 = x tmc22153 y(2:9) clock xtal vclk vclk vdata (0:7) adv601lc (ccir656 & slave mode) figure 17. adv601lc and tmc22153 example ccir-656 mode interface
adv601lc C30C rev. 0 getting the most out of adv601lc the unique sub-band block structure of luminance and color components in the adv601lc offers many unique application benefits. analog devices will offer a feature software library as well as separate feature application documentation to help users exploit these features. the following section provides an o ver- view of only some of the features and how they are achieved with the adv601lc. please refer to figures 2 and 3 as necessary. higher compression with interfield techniques the adv601lc normally operates as a field-independent codec. however, through use of the sub-bands it is possible to use the adv601lc with interfield techniques to achieve even higher levels of compression. in such applications, each field is not compressed separately, thus accessing the compressed bit stream can only be done at specific points in time. there are two general ways this can be accomplished: ? subsampling high frequency blocks the human visual system is more sensitive to interframe motion of low frequency block than to motion in high fre- quency blocks. the host software driver of the adv601lc allows exploitation of this option to achieve higher com- pression. n ote that the compressed bit stream can only be accessed at points where the high frequency blocks have just been updated. ? updating the image with motion detection in applications where the video is likely to have no motion for extended periods of time (video surveillance in a vacant build- ing, for instance), it is only necessary to update the image either periodically or when motion occurs. by using the wave- let sub-bands to detect motion (see later in this section), it is possible to achieve very high levels of compression when motion is infrequent. scalable compression technology the adv601lc offers many different options for scaling the image, the compressed bit stream bandwidth and the processing horsepower for encode or decode. because the adv601lc employs decimators, interpolators and filters in the filter bank, the scaling function creates much higher quality images than achieved through pixel dropping. mixing and matching the many scaling options is useful in network applications where transmission pipes may vary in available bit rate, and decode/ encode capabilities may be a mix of software and hardware. these are the key options: ? extract scaled images by factors of 2 from the compressed bit stream this is useful in video editing applications where thumbnail sketches of fields need to be displayed. in this case, editing software can quickly extract and decode the desired image. this technique eliminates the burden of decoding an entire image and then scaling to the desired size. ? use software to decode bit stream decoding an entire ccir-601 resolution image in real time at 50/60 fields per second does require the adv601lc hard- ware. analog devices provides a bit-exact adv601lc simulator that can decode a scaled image in real time or a full- size image off-line. image size and frame rates depend on the performance of the host processor. ? scale bit stream the compressed video bit stream was created with simple parsing in mind. this type of parsing means that a lower resolution/lower bandwidth bit stream can be extracted with little computational burden. generally, this effect is accom- plished by selecting a subset of lower frequency blocks. this technique is useful in applications where the same video source material must be sent over a range of different commu- nication pipes {i.e., isdn (128 kbps), t1 (1.5 mbps) or t3 (45 mbps)}. ? use software to encode in this case, a host cpu could encode a smaller image size and fill in high frequency blocks with zeros. again, image quality would depend on the performance of the host. the bin width may be set to zero, zeroing out the data in any particular mallat block. parametric image filtering the adv601lc offers a unique set of image filtering capa- bili ties not found in other compression technologies. the adv601lc quantizer is capable of attenuating any or all of the luminance or chrominance blocks during encode or decode. here are some of the possible applications: ? parametric softening of color saturation and contrast during encode or decode trade off image softness for higher compression. attenua- tion of the higher frequency blocks during encode leads to softer images, but it can lead to much higher compression performance. ? color saturation control this effect is achieved by controlling gain of low pass chromi- nance blocks during encode or decode. ? contrast control this effect is achieved by controlling the gain of the low fre- quency luminance blocks during encode or decode. ? fade to black this effect achieved by attenuation of luminance blocks. mixing of two or more images blocks from different images can be mixed into the bit stream and then sent to the adv601lc during decode. the result is high quality mixing of different images. this also provides the capability to fade from one image to the next. edge or motion detection in certain remote video surveillance and machine vision applica- tions, it is desirable to detect edges or motion. edges can be quickly found through evaluation of the high frequency blocks. motion searches can be achieved in two ways: ? evaluation of the smallest luminance block . because the size of the smallest block is so mcuh smaller than the others, the computational burden is significantly less than doing an evaluation over the entire image. ? polling the sum of squares registers. because large changes in the video data create patterns, it is possible to detect motion in the video by polling the sum of squares registers, looking for patterns and changes.
C31C rev. 0 adv601lc the adv601lc video codec uses a bi-orthogonal (7, 9) wavelet transform. recommended operating conditions parameter description min max unit v dd supply voltage 4.50 5.50 v t amb ambient operating temperature 0 +70 c electrical characteristics parameter description test conditions min max unit v ih hi-level input voltage @ v dd = max 2.0 n/a v v il lo-level input voltage @ v dd = min n/a 0.8 v v oh hi-level output voltage @ v dd = min, i oh = C0.5 ma 2.4 n/a v v ol lo-level output voltage @ v dd = min, i ol = 2 ma n/a 0.4 v i ih hi-level input current @ v dd = max, v in = v dd max n/a 10 m a i il lo-level input current @ v dd = max, v in = 0 v n/a 10 m a i ozh three-state leakage current @ v dd = max, v in = v dd max n/a 10 m a i ozl three-state leakage current @ v dd = max, v in = 0 v n/a 10 m a c i input pin capacitance @ v in = 2.5 v, f in = 1.0 mhz, t amb = 25 c n/a 8* pf c o output pin capacitance @ v in = 2.5 v, f in = 1.0 mhz, t amb = 25 c n/a 8* pf *guaranteed but not tested. absolute maximum ratings* parameter description min max unit v dd supply voltage C0.3 +7 v v in input voltage n/a v dd 0.3 v v out output voltage n/a v dd 0.3 v t amb ambient operating temperature 0 +70 c t s storage temperature C65 +150 c t l lead temperature (5 sec) lqfp n/a +280 c *stresses greater than those listed above under absolute maximum ratings may cause permanent damage to the device. this is a st ress rating only; functional opera- tion of the device at these or any other conditions above those indicated in the pin definitions section of this specification is not implied. exposure to maximum rating conditions for extended periods may affect device reliability. supply current and power parameter description test conditions min max unit i dd supply current (dynamic) @ v dd = max, t vclk _ cyc = 37 ns (at 27 mhz vclk) 0.11 0.27 a i dd supply current (soft reset) @ v dd = max, t vclk _ cyc = 37 ns (at 27 mhz vclk) 0.08 0.17 a i dd supply current (idle) @ v dd = max, t vclk _ cyc = none 0.01 0.02 a environmental conditions parameter description max unit q ca case-to-ambient thermal resistance 30 c/w q ja junction-to-ambient thermal resistance 35 c/w q jc junction-to-case thermal resistance 5 c/w caution the adv601lc is an esd (electrostatic discharge) sensitive device. electrostatic charges readily accumulate on the human body and equipment and can discharge without detection. permanent damage may occur to devices subj ected to high energy electrostatic discharges. proper esd precautions are strongly recommended to avoid functional damage or performance degradation. the adv601lc latchup immunity has been demonstrated at 3 100 ma/C100 ma on all pins when tested to industry standard/jedec methods. specifications warning! esd sensitive device
adv601lc C32C rev. 0 timing parameters this section contains signal timing information for the adv601lc. timing descriptions for the following items appear in this section: ? clock signal timing ? video data transfer timing (ccir-656, and multiplexed philips formats) ? host data transfer timing (direct register read/write access) clock signal timing the diagram in this section shows timing for vclk input and vclko output. all output values assume a maximum pin loading of 50 pf. table xviii. video clock period, frequency, drift and jitter min vclk_cyc nominal vclk_cyc max vclk_cyc video format period period (frequency) period 1, 2 ccir-601 pal 35.2 ns 37 ns (27 mhz) 38.9 ns ccir-601 ntsc 35.2 ns 37 ns (27 mhz) 38.9 ns notes 1 vclk period drift = 0.1 (vclk_cyc/field. 2 vclk edge-to-edge jitter = 1 ns. table xix. video clock duty cycle min nominal max vclk duty cycle 1 (40%) (50%) (60%) note 1 vclk duty cycle = t vclk_hi /(t vclk_lo ) 100. table xx. video clock timing parameters parameter description min max unit t vclk_cyc vclk signal, cycle time (1/frequency) at 27 mhz (see video clock period table) t vclko_d0 vclko signal, delay (when vclk2 = 0) at 27 mhz 10 29 ns t vclko_d1 vclko signal, delay (when vclk2 = 1) at 27 mhz 10 29 ns test conditions figure 18 shows test condition voltage reference and device loading information. these test conditions consider an output as disabled when the output stops driving and goes from the measured high or low voltage to a high impedance state. tests measure output disable time (t disable ) as the time between the reference input signal crossing +1.5 v and the time that the output reaches the high impedance state (also +1.5 v). simi- larly, these tests conditions consider an output as enabled when the output leaves the high impedance state and begins driving a measured high or low voltage. tests measure output enable time (t enable ) as the time between the reference input signal crossing +1.5 v and the time that the output reaches the measured high or low voltage. input reference signal output signal t disabled t enabled 1.5v v oh v ol v ih v il 1.5v input & output voltage/timing references device loading for ac measurements to output pin 2pf +1.5v i ol i oh figure 18. test condition voltage reference and device loading
adv601lc C33C rev. 0 ccir-656 video format timing the diagrams in this section show transfer timing for pixel (ycrcb), line (horizontal), and frame (vertical) data in ccir-656 v ideo mode. all output values assume a maximum pin loading of 50 pf. note that in timing diagrams for ccir-656 video, the label ctrl indicates the vsync, hsync, and field pins. table xxi. ccir-656 videodecode pixel (ycrcb) timing parameters parameter description min max units t vdata_dc_d vdata signals, decode ccir-656 mode, delay n/a 14 ns t vdata_dc_oh vdata signals, decode ccir-656 mode, output hold 4 n/a ns t ctrl_dc_d ctrl signals, decode ccir-656 mode, delay n/a 11 ns t ctrl_dc_oh ctrl signals, decode ccir-656 mode, output hold 5 n/a ns (o) ctrl (o) vclko t ctrl_dc_oh (o) vdata t vdata_dc_oh t vdata_dc_d valid valid valid t ctrl_dc_d valid valid valid figure 20. ccir-656 videodecode pixel (ycrcb) transfer timing table xxii. ccir-656 videoencode pixel (ycrcb) timing parameters parameter description min max units t vdata_ec_s vdata bus, encode ccir-656 mode, setup 2 n/a ns t vdata_ec_h vdata bus, encode ccir-656 mode, hold 5 n/a ns t ctrl_ec_d ctrl signals, encode ccir-656 mode, delay n/a 33 ns t ctrl_ec_oh ctrl signals, encode ccir-656 mode, output hold 20 n/a ns t vdata_ec_h (o) ctrl (i) vclk (i) vdata asserted valid asserted valid t vdata_ec_s t ctrl_ec_d t ctrl_ec_oh figure 21. ccir-656 videoencode pixel (ycrcb) transfer timing (i) vclk (o) vclko (vclk2 = 0) (i) vclko (vclk2 = 1) t vclk_cyc t vclko_d0 t vclko_d1 note: use vclk for clocking video-encode operations and use vclko for clocking video-decode operations. do not try to use either clock for both encode and decode. figure 19. video clock timing
adv601lc C34C rev. 0 (o) stats_r (encode) (o) hsync (o) vsync (o) field 625 (pal) line # 621 622 623 624 625 1 2 3 4 5 6 310 311 312 313 314 315 316 317 318 319 21 22 23 24 309 encode / decode & master ccir-656 -- 625 (pal) f rame (vertical) transfer timing 334 335 336 337 (note: stats_r is always lo for 45 cycles before going hi again. stats _r is lo coming out of soft reset and goes high right after the adv601lc finishes taking in the very first field.) (o) hsync (i) vclk (i) vdata ff xx ff xx sample 0 ntsc ccir-601 pixel, n = 720 (o) vclko (vclk2 = 0) (o) vclko (vclk2 = 1) encode ccir-656 -- line (horizontal) transfer timing (for decode vdata is synchronous to vclko) t vdata_ec_h t vdata_ec_s y 2 pal ccir-601 pixel, n = 720 cr 0 y 1 y 0 cb 2 cb 0 y n-2 cb n-2 cr n-2 y n-1 eav sav (o) stats_r (encode) (o) hsync (o) vsync (o) field 525 (ntsc) line # 524 525 123456789 263264265266267268 282 283 284 262 335 336 337 338 encode / decode ccir-656 -- 525 (ntsc) f rame (vertical) transfer timing (note: stats_r is always lo for 45 cycles before going hi again. stats _r is lo coming out of soft reset and goes high right after the adv601lc finishes taking in the very first field.) 20 21 22 23 figure 22. ccir-656 videoline (horizontal) and frame (vertical) transfer timing note that for ccir-656 videodecode and master line (horizontal) timing, vdata is synchronous with vclko.
adv601lc C35C rev. 0 multiplexed philips video timing the diagrams in this section show transfer timing for pixel (ycrcb) data in multiplexed philips video mode. for line (horizonta l) and frame (vertical) data transfer timing, see figure 25. all output values assume a maximum pin loading of 50 pf. note that in timing diagrams for multiplexed philips video, the label ctrl indicates the vsync, hsync and field pins. table xxiii. multiplexed philips videodecode and master pixel (ycrcb) timing parameters parameter description min max unit t vdata_dmm_d vdata bus, decode master multiplexed philips, delay n/a 14 ns t vdata_dmm_oh vdata bus, decode master multiplexed philips, output hold 4 n/a ns t ctrl_dmm_d ctrl signals, decode master multiplexed philips, delay n/a 11 ns t ctrl_dmm_oh ctrl signals, decode master multiplexed philips, output hold 5 n/a ns (o) ctrl (o) vclko t ctrl_dmm_oh (o) vdata t vdata_dmm_oh t vdata_dmm_d valid valid valid t ctrl_dmm_d valid valid valid figure 23. multiplexed philips videodecode and master pixel (ycrcb) transfer timing table xxiv. multiplexed philips videodecode and slave pixel (ycrcb) timing parameters parameter description min max unit t vdata_dsm_d vdata bus, decode slave multiplexed philips, delay n/a 14 ns t vdata_dsm_oh vdata bus, decode slave multiplexed philips, output hold 4 n/a ns t ctrl_dsm_s ctrl signals, decode slave multiplexed philips, setup 16 n/a ns t ctrl_dsm_h ctrl signals, decode slave multiplexed philips, hold 42 n/a ns (i) ctrl (o) vclko (o) vdata t ctrl_dsm_h valid t vdata_dsm_oh valid valid valid t vdata_dsm_d t ctrl_dsm_s figure 24. multiplexed philips videodecode and slave pixel (ycrcb) transfer timing
adv601lc C36C rev. 0 figure 25. multiplexed philips videoCline (horizontal) and frame (vertical) transfer timing stats _ r (encode) hsync vsync 625 (pal) line # 621622623624625123456 310311312313314315316317318319 8 23 24 309 7 320 321 (note: stats_r is always lo for 45 cycles before going hi again. stats_r is lo coming out of soft reset and goes high right aft er the adv601lc finishes taking in the very first field.) encode / decode & master multiplexed philips -- 625 (pal) frame (vertical) transfer timing 335 336 (note: adv601lc gets hsynch from philips href) (o) field stats_r (encode) hsync vsync 525 (ntsc) line # 524525123456789 263 264 265 266 267 268 262 335 336 337 338 encode / decode & master multiplexed philips -- 525 (ntsc) frame (vertical) transfer timing 282 283 284 22 23 24 21 (note: stats_r is always lo for 45 cycles before going hi again. stats_r is lo coming out of soft reset and goes high right aft er the adv601lc finishes taking in the very first field.) (o) field (note: adv601lc in slave mode gets hsynch from philips href) (o) hsync (i) vclk (i) vdata sample 0 ntsc ccir-601 pixel, n = 720 (o) vclko (vclk2 = 0) (o) vclko (vclk2 = 1) encode master multiplexed philips -- line (horizontal) transfer timing (for decode vdata is synchronous to vclko) t vdata_ec_h t vdata_ec_s y 2 pal ccir-601 pixel, n = 720 cr 0 y 1 y 0 cb 2 cb 0 y n-2 cb n-2 cr n-2 y n-1
adv601lc C37C rev. 0 table xxv. multiplexed philips videoencode and master pixel (ycrcb) timing parameters parameter description min max unit t vdata_emm_s vdata bus, encode master multiplexed philips, setup 2 n/a ns t vdata_emm_h vdata bus, encode master multiplexed philips, hold 5 n/a ns t ctrl_emm_d ctrl signals, encode master multiplexed philips, delay n/a 33 ns t ctrl_emm_oh ctrl signals, encode master multiplexed philips, output hold 20 n/a ns (o) ctrl (i) vclk (i) vdata asserted valid asserted valid t vdata_emm_s t vdata_emm_h t ctrl_emm_oh t ctrl_emm_d figure 26. multiplexed philips videoencode and master pixel (ycrcb) transfer timing table xxvi. multiplexed philips videoencode and slave pixel (ycrcb) timing parameters parameter description min max unit t vdata_esm_s vdata bus, encode slave multiplexed philips mode, setup 2 n/a ns t vdata_esm_h vdata bus, encode slave multiplexed philips mode, hold 5 n/a ns t ctrl_esm_s ctrl signals, encode slave multiplexed philips mode, setup 5 n/a ns t ctrl_esm_h ctrl signals, encode slave multiplexed philips mode, hold 5 n/a ns (i) ctrl (i) vclk (i) vdata t ctrl_esm_h asserted t vdata_esm_s t vdata_esm_h valid asserted valid t ctrl_esm_s figure 27. multiplexed philips videoencode and slave pixel (ycrcb) transfer timing
adv601lc C38C rev. 0 host interface (indirect address, indirect register data, and interrupt mask/status) register timing the diagrams in this section show transfer timing for host read and write accesses to all of the adv601lcs direct registers, e xcept the compressed data register. accesses to the indirect address, indirect register data, and interrupt mask/status registers are slower than access timing for the compressed data register. for information on access timing for the compressed data direct regis- ter, see the host interface (compressed data) register timing section. note that for accesses to the indirect address, indirect reg- ister data and interrupt mask/status registers, your system must observe ack and rd or wr assertion timing. table xxvii. host (indirect address, indirect data, and interrupt mask/status) read timing parameters parameter description min max unit t rd_d_rdc rd signal, direct register, read cycle time (at 27 mhz vclk) n/a 1 n/a ns t rd_d_pwa rd signal, direct register, pulsewidth asserted (at 27 mhz vclk) n/a 1 n/a ns t rd_d_pwd rd signal, direct register, pulsewidth deasserted (at 27 mhz vclk) 5 n/a ns t adr_d_rds adr bus, direct register, read setup 2 n/a ns t adr_d_rdh adr bus, direct register, read hold 2 n/a ns t data_d_rdd data bus, direct register, read delay n/a 171.6 2, 3 ns t data_d_rdoh data bus, direct register, read output hold (at 27 mhz vclk) 26 n/a ns t rd_d_wrt wr signal, direct register, read-to-write turnaround (at 27 mhz vclk) 48.7 4 n/a ns t ack_d_rdd ack signal, direct register, read delayed (at 27 mhz vclk) 8.6 287.1 5, 6 ns t ack_d_rdoh ack signal, direct register, read output hold (at 27 mhz vclk) 11 n/a ns notes 1 rd input must be asserted (low) until ack is asserted (low). 2 maximum t data_d_rdd varies with vclk according to the formula: t data_d_rdd (max) = 4 (vclk period) +16. 3 during stats_r deasserted (low) conditions, t data_d_rdd may be as long as 52 vclk periods. 4 minimum t rd_d_wrt varies with vclk according to the formula: t rd_d_wrt (min) = 1.5 (vclk period) C4.1. 5 maximum t ack_d_rdd varies with vclk according to formula: t ack_d_rdd (max) = 7 (vclk period) +14.8. 6 during stats_r deasserted (low) conditions, t ack_d_rdd may be as long as 52 vclk periods. valid valid valid valid (i) adr, be , cs (i) rd (o) data (o) ack (i) wr t adr_d_rds t ack_d_rdoh t rd_d_rdc t rd_d_pwa t rd_d_pwd t adr_d_rdh t data_d_rdd t data_d_rdoh t rd_d_wrt t ack_d_rdd figure 28. host (indirect address, indirect register data, and interrupt mask/status) read transfer timing
adv601lc C39C rev. 0 table xxviii. host (indirect address, indirect data, and interrupt mask/status) write timing parameters parameter description min max unit t wr_d_wrc wr signal, direct register, write cycle time (at 27 mhz vclk) n/a 1 n/a ns t wr_d_pwa wr signal, direct register, pulsewidth asserted (at 27 mhz vclk) n/a 1 n/a ns t wr_d_pwd wr signal, direct register, pulsewidth deasserted (at 27 mhz vclk) 5 n/a ns t adr_d_wrs adr bus, direct register, write setup 2 n/a ns t adr_d_wrh adr bus, direct register, write hold 2 n/a ns t data_d_wrs data bus, direct register, write setup C10 n/a ns t data_d_wrh data bus, direct register, write hold 0 n/a ns t wr_d_rdt wr signal, direct register, read turnaround (after a write) (at 27 mhz vclk) 35.6 2 n/a ns t ack_d_wrd ack signal, direct register, write delay (at 27 mhz vclk) 8.6 182.1 3, 4 ns t ack_d_wroh ack signal, direct register, write output hold 11 n/a ns notes 1 wr input must be asserted (low) until ack is asserted (low). 2 minimum t wr_d_rdt varies with vclk according to the formula: t wr_d_rdt (min) = 0.8 (vclk period) +7.4. 3 maximum t wr_d_wrd varies with vclk according to the formula: t ack_d_wrd (max) = 4.3 (vclk period) +14.8. 4 during stats_r deasserted (low) conditions, t ack_d_wrd may be as long as 52 vclk periods. valid valid valid valid (i) adr, be , cs (i) wr (i) data (o) ack (i) rd t adr_d_wrs t data_d_wrs t wr_d_wrc t wr_d_pwa t wr_d_pwd t adr_d_wrh t data_d_wrh t ack_d_wrd t wr_d_rdt t ack_d_wroh figure 29. host (indirect address, indirect register data, and interrupt mask/status) write transfer timing
adv601lc C40C rev. 0 host interface (compressed data) register timing the diagrams in this section show transfer timing for host read and write transfers to the adv601lcs compressed data register. accesses to the compressed data register are faster than access timing for the indirect address, indirect register data, and in terrupt mask/status registers. for information on access timing for the other registers, see the host interface (indirect address , indirect register data, and interrupt mask/status) register timing section. also note that as long as your system observes the rd or wr signal assertion timing, your system does not have to wait for the ack signal between new compressed data addresses. table xxix. host (compressed data) read timing parameters parameter description min max unit t rd_cd_rdc rd signal, compressed data direct register, read cycle time 28 n/a ns t rd_cd_pwa rd signal, compressed data direct register, pulsewidth asserted 10 n/a ns t rd_cd_pwd rd signal, compressed data direct register, pulsewidth deasserted 10 n/a ns t adr_cd_rds adr bus, compressed data direct register, read setup 2 n/a ns t adr_cd_rdh adr bus, compressed data direct register, read hold (at 27 mhz vclk) 2 n/a ns t data_cd_rdd data bus, compressed data direct register, read delay n/a 10 ns t data_cd_rdoh data bus, compressed data direct register, read output hold 18 n/a ns t ack_cd_rdd ack signal, compressed data direct register, read delay n/a 18 ns t ack_cd_rdoh ack signal, compressed data direct register, read output hold 9 n/a ns (i) adr, be , cs (i) rd (o) data (o) ack valid valid valid valid t adr_cd_rds t data_cd_rdd t ack _ cd _ rdd t ack_cd_rdoh t data_cd_rdoh t adr_cd_rdh t rd_cd_rdc t rd_cd_pwa t rd_cd_pwd figure 30. host (compressed data) read transfer timing
adv601lc C41C rev. 0 table xxx. host (compressed data) write timing parameters parameter description min max unit t wr_cd_wrc wr signal, compressed data direct register, write cycle time 28 n/a ns t wr_cd_pwa wr signal, compressed data direct register, pulsewidth asserted 10 n/a ns t wr_cd_pwd wr signal, compressed data direct register, pulsewidth deasserted 10 n/a ns t adr_cd_wrs adr bus, compressed data direct register, write setup 2 n/a ns t adr_cd_wrh adr bus, compressed data direct register, write hold 2 n/a ns t data_cd_wrs data bus, compressed data direct register, write setup 2 n/a ns t data_cd_wrh data bus, compressed data direct register, write hold 2 n/a ns t ack_cd_wrd ack signal, compressed data direct register, write delay n/a 19 ns t ack_cd_wroh ack signal, compressed data direct register, write output hold 9 n/a ns (i) adr, be , cs (i) wr (i) data (o) ack valid t adr_cd_wrh t adr_cd_wrs t data_cd_wrs t data_cd_wrh t ack_cd_wrd t wr_cd_wrc t ack_cd_wroh valid valid valid t wr_cd_pwa t wr_cd_pwd figure 31. host (compressed data) write transfer timing
adv601lc C42C rev. 0 pin pin pin name type 41 cas o 42 we o 43 vdd power 44 vdd power 45 ddat15 i/o 46 ddat14 i/o 47 ddat13 i/o 48 ddat12 i/o 49 ddat11 i/o 50 ddat10 i/o 51 ddat9 i/o 52 ddat8 i/o 53 ddat7 i/o 54 ddat6 i/o 55 ddat5 i/o 56 ddat4 i/o 57 ddat3 i/o 58 ddat2 i/o 59 ddat1 i/o 60 ddat0 i/o 61 gnd ground 62 vdd power 63 gnd ground 64 nc nc 65 vdd i/o 66 gnd ground 67 enc o 68 vclko o 69 vdd power 70 xtal i 71 vclk i 72 gnd ground 73 field i or o 74 hsync i or o 75 vsync i or o 76 gnd ground 77 vdd power 78 vdata7 i/o 79 vdata6 i/o 80 vdata5 i/o pin pin pin name type 1 data4 i/o 2 data3 i/o 3 data2 i/o 4 data1 i/o 5 data0 i/o 6 vdd power 7 gnd ground 8 rd i 9 wr i 10 cs i 11 adr1 i 12 adr0 i 13 gnd ground 14 be2 C be3 i 15 be0 C be1 i 16 gnd ground 17 reset i 18 vdd power 19 ack o 20 vdd power 21 gnd ground 22 hirq o 23 lcode o 24 fifo_srq o 25 stats_r o 26 vdd power 27 gnd ground 28 gnd ground 29 vdd power 30 dadr8 o 31 dadr7 o 32 dadr6 o 33 dadr5 o 34 dadr4 o 35 dadr3 o 36 dadr2 o 37 dadr1 o 38 dadr0 o 39 gnd ground 40 ras o pin pin pin name type 81 vdata4 i/o 82 gnd ground 83 vdd power 84 vdata3 i/o 85 vdata2 i/o 86 vdata1 i/o 87 vdata0 i/o 88 nc* nc 89 nc* nc 90 gnd ground 91 data31 i/o 92 data30 i/o 93 data29 i/o 94 data28 i/o 95 data27 i/o 96 data26 i/o 97 data25 i/o 98 data24 i/o 99 data23 i/o 100 data22 i/o 101 data21 i/o 102 data20 i/o 103 vdd power 104 data19 i/o 105 data18 i/o 106 data17 i/o 107 data16 i/o 108 gnd ground 109 gnd ground 110 data15 i/o 111 data14 i/o 112 data13 i/o 113 data12 i/o 114 data11 i/o 115 data10 i/o 116 data9 i/o 117 data8 i/o 118 data7 i/o 119 data6 i/o 120 data5 i/o pinouts *apply a 10 k w pull-down resistor to this pin.
adv601lc C43C rev. 0 pin configuration 86 87 89 84 85 82 83 81 90 80 88 75 76 77 78 73 74 72 70 71 79 69 67 68 65 66 63 64 61 62 11 10 16 15 14 13 18 17 20 19 22 21 12 24 23 26 25 28 27 30 29 5 4 3 2 7 6 9 8 1 32 33 35 36 38 39 40 41 42 43 44 45 46 47 48 49 50 31 37 60 59 58 57 54 53 52 51 56 55 34 pin 1 identifier top view (not to scale) 112 113 114 115 116 117 118 119 12 0 111 103 110 109 108 107 106 104 102 101 100 99 98 97 96 95 94 93 92 91 105 data5 data6 data7 data8 data9 data10 data11 data12 data13 data14 data15 gnd gnd data16 data17 data18 data19 vdd data2 0 data2 1 data2 2 data2 3 data2 4 data2 5 data2 6 data2 7 data2 8 data2 9 data3 0 data3 1 dadr7 dadr6 dadr5 dadr4 dadr3 dadr2 dadr1 dadr0 gnd ras cas we vdd vdd ddat15 ddat14 ddat13 ddat12 ddat11 ddat10 ddat9 ddat8 ddat7 ddat6 ddat5 ddat4 ddat3 ddat2 ddat1 ddat0 gnd nc* nc* vdata0 vdata1 vdata2 vdata3 vdd gnd vdata4 vdata5 vdata6 vdata7 vclko enc gnd vdd nc gnd vdd gnd vdd gnd vsync hsync field gnd vclk xtal vdd data4 data3 data2 data1 data0 vdd gnd rd wr cs adr1 adr0 gnd be2 C be3 be0 C be1 gnd reset vdd ack vdd gnd hirq lcode fifo_srq stats_r vdd gnd gnd vdd dadr8 *apply a 10k v pull down resistor to this pin adv601lc
C44C c3164C3C1/99 printed in u.s.a. adv601lc rev. 0 120-lead lqfp (st-120) top view (pins down) 1 30 31 61 60 90 120 91 0.457 (11.6) bsc sq 0.638 (16.20) 0.630 (16.00) sq 0.622 (15.80) 0.559 (14.20) 0.551 (14.00) sq 0.543 (13.80) 0.016 (0.40) bsc * lead pitch 7 3.5 0 0.008 (0.20) 0.004 (0.09) 0.009 (0.23) 0.007 (0.18) 0.005 (0.13) 0.057 (1.45) 0.055 (1.40) 0.053 (1.35) seating plane 0.063 (1.60) max seating plane 0.003 (0.08) max 0.006 (0.15) 0.002 (0.05) 0.030 (0.75) 0.025 (0.60) 0.018 (0.45) * the actual position of each lead is within 0.003 (0.07) from its ideal position when measured in the lateral direction. center figures are typical unless otherwise noted lead width ordering guide part number ambient temperature range 1 package description package option 2 ADV601LCJST 0 c to +70 c 120-lead lqfp st-120 notes 1 j = commercial temperature range (0 c to +70 c). 2 st = plastic thin quad flatpack. outline dimensions dimensions shown in inches and (mm).


▲Up To Search▲   

 
Price & Availability of ADV601LCJST

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X